From 1ebb1f507bf7e2b95782bff74ffc5d48e9b5394b Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期四, 26 九月 2024 11:49:09 +0800 Subject: [PATCH] 车载V1.5版本,增加滤波算法和上传数据修改,延长更新现存列表时间,解决无法对所有通信设备全部校准offset的bug --- keil/include/drivers/global_param.c | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/keil/include/drivers/global_param.c b/keil/include/drivers/global_param.c index 44b7bd9..0dd6624 100644 --- a/keil/include/drivers/global_param.c +++ b/keil/include/drivers/global_param.c @@ -84,9 +84,15 @@ 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]=1234; + g_com_map[HEIGHTOFFEST_INDEX]=0; save_com_map_to_flash(); } @@ -124,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