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

This commit is contained in:
2026-05-15 15:28:24 +08:00
parent c7315ae6f9
commit 44aa2116aa
+2 -2
View File
@@ -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");