format code

This commit is contained in:
Jackistang 2021-08-14 14:32:58 +08:00
parent 1b7468979f
commit 99de1a6220
4 changed files with 47 additions and 47 deletions

View File

@ -423,7 +423,7 @@ RTM_EXPORT(rt_ringbuffer_reset);
*
* @return Return a pointer to ringbuffer object. When the return value is RT_NULL, it means the creation failed.
*/
struct rt_ringbuffer* rt_ringbuffer_create(rt_uint16_t size)
struct rt_ringbuffer *rt_ringbuffer_create(rt_uint16_t size)
{
struct rt_ringbuffer *rb;
rt_uint8_t *pool;