From cbb802e254990581aa77e9d1c91aa59f982861cc Mon Sep 17 00:00:00 2001 From: zhouhouxin Date: Sat, 27 Mar 2021 11:34:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E9=99=A4=E5=AF=B9=E5=86=85=E6=A0=B8?= =?UTF-8?q?=E7=9A=84=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../samgr_hal/src/broadcast_publish_func_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distributed_schedule_lite/samgr_hal/src/broadcast_publish_func_test.c b/distributed_schedule_lite/samgr_hal/src/broadcast_publish_func_test.c index 86684b7c4..41400b95c 100755 --- a/distributed_schedule_lite/samgr_hal/src/broadcast_publish_func_test.c +++ b/distributed_schedule_lite/samgr_hal/src/broadcast_publish_func_test.c @@ -16,7 +16,7 @@ * Create : 2020/04/19 */ -#include +#include "cmsis_os.h" #include "hctest.h" #include "samgr_lite.h" #include "broadcast_interface.h" @@ -112,7 +112,7 @@ LITE_TEST_SUIT(test, broadcast, Broadcast02TestSuite); static BOOL Broadcast02TestSuiteSetUp(void) { - LOS_Msleep(OPER_INTERVAL); + osDelay(OPER_INTERVAL); return TRUE; } -- GitLab