mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-09-27 22:36:59 +08:00
+3
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user