this is a demo

This commit is contained in:
ericlanlan 2023-07-31 13:26:54 +08:00
parent affa53d802
commit 21a7f049cc
1 changed files with 2 additions and 1 deletions

View File

@ -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
}