修复了修改服务器ip和端口无提示信息的bug

This commit is contained in:
2026-05-15 15:28:24 +08:00
parent c7315ae6f9
commit 44aa2116aa
+3 -3
View File
@@ -536,7 +536,7 @@ void DebugCmdSetComm(int argc, char *argv[])
return;
if(strcmp(argv[1], "?") == 0) {
DBG_LOG("Debug Cmd: comm arg1\r\n");
DBG_LOG("Debug Cmd: comm arg1\r\n");
DBG_LOG(" brief --> Set gateway and service communication methods.\r\n");
DBG_LOG(" arg1 --> para: (cat1, eth),Cat1 or ETH communication.\r\n\r\n");
return;
@@ -999,11 +999,11 @@ static void DebugCmdSetSvr(int argc, char *argv[])
int IP[4];
int port;
if(argc < 3)
if(argc < 2)
return;
if(strcmp(argv[1], "?") == 0) {
DBG_LOG("Debug Cmd: arg1 arg2 arg3\r\n");
DBG_LOG("Debug Cmd: svr arg1 arg2 arg3\r\n");
DBG_LOG(" brief --> Set the server IP address and port for 4G communication.\r\n");
DBG_LOG(" arg1 --> password\r\n");
DBG_LOG(" arg2 --> (xx.xx.xx.xx) ip\r\n");