format code
This commit is contained in:
parent
1b7468979f
commit
99de1a6220
|
@ -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.
|
* @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;
|
struct rt_ringbuffer *rb;
|
||||||
rt_uint8_t *pool;
|
rt_uint8_t *pool;
|
||||||
|
|
Loading…
Reference in New Issue