From a5b684d29c2a86c8982645fa32f5e8e8457b5a8c Mon Sep 17 00:00:00 2001 From: HelloByeAll <1139077247@qq.com> Date: Tue, 19 Oct 2021 16:50:09 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=A9=BA=E8=A1=8C=E4=B8=8A=E7=9A=84tab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ipc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ipc.c b/src/ipc.c index 32018b955f..da2996a30e 100755 --- a/src/ipc.c +++ b/src/ipc.c @@ -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_DEBUG_NOT_IN_INTERRUPT; - + /* allocate object */ event = (rt_event_t)rt_object_allocate(RT_Object_Class_Event, name); 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_DEBUG_NOT_IN_INTERRUPT; - + /* allocate object */ mq = (rt_mq_t)rt_object_allocate(RT_Object_Class_MessageQueue, name); if (mq == RT_NULL)