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 86684b7c474e5e7d56ac2622762d238315849aca..41400b95c45824b3cb0c5ea0e557064a7da4ba83 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; }