mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-08-17 16:52:27 +08:00
update Demo-Service/6、综合应用/comp_usart.c.
Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
@@ -288,8 +288,8 @@ void start_hook(void)
|
||||
uart1_recv.p = uart1_recv.buff;
|
||||
HAL_UART_Receive_DMA(&huart1, (uint8_t *)uart1_recv.p, 1);
|
||||
/* 启动任务 */// 所有定时任务均由 CosyOS 自动启动,无需用户启动。
|
||||
uStartTask_Ready(task_1);
|
||||
uStartTask_Ready(task_2);
|
||||
uStartTask_Ready(task_1); // 启动task_1,初始状态为就绪状态
|
||||
uStartTask_Ready(task_2); // 启动task_2,初始状态为就绪状态
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user