From f520882cbe60829964cbed519ce4fb0484f90cd9 Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期三, 23 十二月 2020 14:20:45 +0800
Subject: [PATCH] V2.18 增加转点切换和距离切换2钟模式,测试长时间是否丢失临近基站

---
 Src/application/global_param.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Src/application/global_param.h b/Src/application/global_param.h
index 67823f8..8a00144 100644
--- a/Src/application/global_param.h
+++ b/Src/application/global_param.h
@@ -26,7 +26,7 @@
 #define		HEARTBEAT       		0xE
 #define		MODBUS_MODE		   		0xF
 
-#define      NEARBASE_NUM                    0x10
+#define      MOTOR_ONTIME                    0x10
 #define      NEARBASE_ID1                    0x11
 #define      NEARBASE_ID2                    0x12
 #define      NEARBASE_ID3                    0x13
@@ -44,7 +44,8 @@
 #define   MOTOR_ENABLE        0x1E
 #define   IMU_ENABLE          0x1F
 #define 	REMOTEPARA_STATE  	0x20
-
+#define 	MOTOR_ONTIME 				0x21
+#define 	ACTIVE_INDEX 				0x22
 
 #define 	CNT_RESTART						0x30
 #define 	CNT_REBOOT						0x31
@@ -55,6 +56,7 @@
 
 
 extern uint16_t g_com_map[COM_MAP_SIZE];
+extern uint16_t rtag_com_map[30];
 
 extern uint32_t save_com_map_to_flash(void);
 extern void parameter_init(void);

--
Gitblit v1.9.3