From 44aa2116aaa9716849e45e3aa2a2b2bc0c930714 Mon Sep 17 00:00:00 2001 From: YuanHongbin <975559679@qq.com> Date: Fri, 15 May 2026 15:28:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8ip=E5=92=8C=E7=AB=AF=E5=8F=A3?= =?UTF-8?q?=E6=97=A0=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DebugCmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DebugCmd.c b/DebugCmd.c index e96f36c..5307fff 100644 --- a/DebugCmd.c +++ b/DebugCmd.c @@ -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");