update System/os_debug.c.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2023-11-11 13:12:29 +00:00
committed by Gitee
parent c12a1fdb1c
commit e8beed6296
+3 -3
View File
@@ -3,8 +3,8 @@
* @file os_debug.c
* @brief DEBUG接口(串口发送和接收解析)
* @author 迟凯峰
* @version V1.1.1
* @date 2023.11.10
* @version V1.1.2
* @date 2023.11.11
******************************************************************************/
#include "os_link.h"
@@ -91,7 +91,7 @@ static void _debug_recv_(void)
char _XDATA_MEM_ *tptr = hptr + s_strlen(hptr) - 2;
if(!s_strcmp(tptr, "\r\n")){
if(!s_strcmp(hptr, "taskmgr\r\n")){
uUnlockBin(s_taskmgr_binary);
uGiveBin(s_taskmgr_binary);
}
else if(!s_strcmp(hptr, "exit\r\n")){
uLockBin(s_taskmgr_binary);