From e328ebef585cea2351b37117b2d5ac4978ecd3c0 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期二, 11 二月 2025 14:57:23 +0800 Subject: [PATCH] 1111111 --- 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