From 21a7f049ccfa98da3784c2adbc1ec658e4cb8284 Mon Sep 17 00:00:00 2001 From: ericlanlan <20222131034@m.scnu.edu.cn> Date: Mon, 31 Jul 2023 13:26:54 +0800 Subject: [PATCH] this is a demo --- examples/hello_world/hello_world.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/hello_world/hello_world.c b/examples/hello_world/hello_world.c index 9469956b..74732691 100644 --- a/examples/hello_world/hello_world.c +++ b/examples/hello_world/hello_world.c @@ -28,7 +28,8 @@ void task2_entry(void *arg) void application_entry(void *arg) { + printf("***This is a demo\r\n"); tos_task_create(&task1, "task1", task1_entry, NULL, 3, task1_stk, TASK1_STK_SIZE, 0); // Create task1 - tos_task_create(&task2, "task2", task2_entry, NULL, 3, task2_stk, TASK2_STK_SIZE, 0);// Create task2 + tos_task_create(&task2, "task2", task2_entry, NULL, 3, task2_stk, TASK2_STK_SIZE, 0); // Create task2 }