From 039f65a917fab431b629125b428fb1ede145ebbe Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期二, 20 五月 2025 11:52:59 +0800
Subject: [PATCH] 3.7,加入放开加速度阈值可以修改

---
 APL/Shell.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/APL/Shell.c b/APL/Shell.c
index 33cd010..d0e177d 100644
--- a/APL/Shell.c
+++ b/APL/Shell.c
@@ -441,10 +441,10 @@
     
     return HIDO_OK;
 }
-
+HIDO_UINT8 au8IP1[4];
 static HIDO_INT32 Shell_SetServerInfo(HIDO_INT32 _i32Argc, HIDO_CHAR **_ppcArgv)
 {
-    HIDO_UINT8 au8IP[4];
+//    HIDO_UINT8 au8IP[4];
     
     if(_i32Argc < 3)
     {
@@ -454,15 +454,15 @@
     }
     
     /* IP=192.168.1.1 */
-    HIDO_UtilIPStringToByteArrary(_ppcArgv[1], au8IP);
+    HIDO_UtilIPStringToByteArrary(_ppcArgv[1], au8IP1);
     /* IP变化 */
-    if((au8IP[0] != g_com_map[IP_0]) || (au8IP[1] != g_com_map[IP_1])
-            || (au8IP[2] != g_com_map[IP_2]) || (au8IP[3] != g_com_map[IP_3]))
+    if((au8IP1[0] != g_com_map[IP_0]) || (au8IP1[1] != g_com_map[IP_1])
+            || (au8IP1[2] != g_com_map[IP_2]) || (au8IP1[3] != g_com_map[IP_3]))
     {
-        g_com_map[IP_0] = au8IP[0];
-        g_com_map[IP_1] = au8IP[1];
-        g_com_map[IP_2] = au8IP[2];
-        g_com_map[IP_3] = au8IP[3];
+        g_com_map[IP_0] = au8IP1[0];
+        g_com_map[IP_1] = au8IP1[1];
+        g_com_map[IP_2] = au8IP1[2];
+        g_com_map[IP_3] = au8IP1[3];
     }
 
     /* 端口=0-65535 */

--
Gitblit v1.9.3