update Demo-Service/2、消息同步/msg_taskmsg.c.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2026-02-04 11:10:49 +00:00
committed by Gitee
parent 9a817feb95
commit 3d5dfa4515
+1 -1
View File
@@ -36,7 +36,7 @@ uCreateTaskmsg(task_1, 1, 512, 0, "task_key", 1)(unsigned int tm1)
}
/* 动态创建私信任务 task_2 */ // 3个私信参数
dCreateTaskmsg(task_2, 2, 512, 0, "task_led", 3)(unsigned int tm1, void *tm2, float tm3)
dCreateTaskmsg(task_2, 2, 768, 0, "task_led", 3)(unsigned int tm1, void *tm2, float tm3)
{
// while(1){ // 已内置循环,此循环可省略
if(uRecvTM(xTick_s(2))){ // 接收私信,超时时间为2秒,返回值为真表示接收成功