From d980bdb975f1d18a4a227bc6b9ab19a673a5d110 Mon Sep 17 00:00:00 2001 From: David Lin Date: Tue, 13 Oct 2020 22:43:24 +0800 Subject: [PATCH] Update hello_world.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 把动态创建函数打印部分,the dynamic created task增加序号3,修改成上下文一致的task3(dynamic created),更便于理解 --- examples/hello_world/hello_world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hello_world/hello_world.c b/examples/hello_world/hello_world.c index 72445b2d..de4be960 100644 --- a/examples/hello_world/hello_world.c +++ b/examples/hello_world/hello_world.c @@ -30,7 +30,7 @@ void task1(void *arg) #if TOS_CFG_TASK_DYNAMIC_CREATE_EN > 0u 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); } #endif