From 4981b3aa5366e088cdc9af5859b986e62787e1ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B6=E4=B8=AD=E6=96=AD=E5=BB=B6=E8=BF=9F=E7=9A=84RTOS?= Date: Mon, 14 Sep 2026 13:25:55 +0000 Subject: [PATCH] update System/os_debug.c. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 零中断延迟的RTOS --- System/os_debug.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/System/os_debug.c b/System/os_debug.c index c6b748bc..e99d522c 100644 --- a/System/os_debug.c +++ b/System/os_debug.c @@ -4,8 +4,8 @@ * @brief DEBUG接口 * @details DEBUG接口,串口发送和接收解析。 * @author 迟凯峰 - * @version v3.1.2 - * @date 2026.09.06 + * @version v3.1.3 + * @date 2026.09.14 ******************************************************************************/ #include "os_var.h" @@ -80,6 +80,7 @@ void os_debug_recv(void) p += 7; while(*p == ' ') p++; // 忽略空格 if(*p == '\0'){ + if(s_taskmgr_sign) goto __ACK_OK; s_taskmgr_sign = true; s_taskmgr_upspeed = 0; s_timqry_handle[OS_TMID_TASKMGR]->timer = s_timqry_handle[OS_TMID_TASKMGR]->reload;