Merge pull request #235 from DavidLin1577/patch-19

Update hello_world.c
This commit is contained in:
Supowang
2020-10-14 22:08:28 +08:00
committed by GitHub

View File

@@ -30,7 +30,7 @@ void task1(void *arg)
#if TOS_CFG_TASK_DYNAMIC_CREATE_EN > 0u #if TOS_CFG_TASK_DYNAMIC_CREATE_EN > 0u
if (count++ == 3) { if (count++ == 3) {
printf("###I am task1, kill the dynamic created task\r\n"); printf("###I am task1, kill the task3(dynamic created)\r\n");
osThreadTerminate(task_dyn_created); osThreadTerminate(task_dyn_created);
} }
#endif #endif