From 2c4086173a8915035aee593d16b3ea7edc6f5c15 Mon Sep 17 00:00:00 2001
From: chen <15335560115@163.com>
Date: 星期二, 10 九月 2024 18:14:35 +0800
Subject: [PATCH] 初版仅gps1h上报加4G休眠,去掉uwb振动等

---
 keil/include/drivers/global_param.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/keil/include/drivers/global_param.c b/keil/include/drivers/global_param.c
index 2878798..0dd6624 100644
--- a/keil/include/drivers/global_param.c
+++ b/keil/include/drivers/global_param.c
@@ -84,14 +84,14 @@
         g_com_map[CNT_RESTART]=0;
         g_com_map[CNT_REBOOT]=0;
         g_com_map[CNT_UPDATE]=0;
-        g_com_map[MODBUS_MODE]=0;
+        g_com_map[MOTOR_ONTIME_INDEX]=10;
         g_com_map[ACTIVE_INDEX]=0;
 
         g_com_map[TCP_IP_0]=0x111;
         g_com_map[TCP_IP_0]=0x198;
         g_com_map[TCP_IP_0]=0x60; 
         g_com_map[TCP_IP_0]=0x6;
-        g_com_map[TCP_IP_0]=0x1234;
+        g_com_map[TCP_IP_0]=1234;
         
         g_com_map[HEIGHTOFFEST_INDEX]=0;
         save_com_map_to_flash();
@@ -130,6 +130,12 @@
         g_com_map[MODBUS_MODE]=0;
         g_com_map[ACTIVE_INDEX]=0;
 
+        g_com_map[TCP_IP_0]=0x111;
+        g_com_map[TCP_IP_1]=0x198;
+        g_com_map[TCP_IP_2]=0x60; 
+        g_com_map[TCP_IP_3]=0x6;
+        g_com_map[TCP_PORT]=0x1234;
+        
         g_com_map[HEIGHTOFFEST_INDEX]=0;
         save_com_map_to_flash();
     }

--
Gitblit v1.9.3