【更新】删除空行上的tab
This commit is contained in:
parent
758ef39024
commit
a5b684d29c
|
@ -1350,7 +1350,7 @@ rt_event_t rt_event_create(const char *name, rt_uint8_t flag)
|
||||||
RT_ASSERT((flag == RT_IPC_FLAG_FIFO) || (flag == RT_IPC_FLAG_PRIO));
|
RT_ASSERT((flag == RT_IPC_FLAG_FIFO) || (flag == RT_IPC_FLAG_PRIO));
|
||||||
|
|
||||||
RT_DEBUG_NOT_IN_INTERRUPT;
|
RT_DEBUG_NOT_IN_INTERRUPT;
|
||||||
|
|
||||||
/* allocate object */
|
/* allocate object */
|
||||||
event = (rt_event_t)rt_object_allocate(RT_Object_Class_Event, name);
|
event = (rt_event_t)rt_object_allocate(RT_Object_Class_Event, name);
|
||||||
if (event == RT_NULL)
|
if (event == RT_NULL)
|
||||||
|
@ -2597,7 +2597,7 @@ rt_mq_t rt_mq_create(const char *name,
|
||||||
RT_ASSERT((flag == RT_IPC_FLAG_FIFO) || (flag == RT_IPC_FLAG_PRIO));
|
RT_ASSERT((flag == RT_IPC_FLAG_FIFO) || (flag == RT_IPC_FLAG_PRIO));
|
||||||
|
|
||||||
RT_DEBUG_NOT_IN_INTERRUPT;
|
RT_DEBUG_NOT_IN_INTERRUPT;
|
||||||
|
|
||||||
/* allocate object */
|
/* allocate object */
|
||||||
mq = (rt_mq_t)rt_object_allocate(RT_Object_Class_MessageQueue, name);
|
mq = (rt_mq_t)rt_object_allocate(RT_Object_Class_MessageQueue, name);
|
||||||
if (mq == RT_NULL)
|
if (mq == RT_NULL)
|
||||||
|
|
Loading…
Reference in New Issue