From 003aff1766ffd3ccfe9df6096ef137340ebfeabf Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期五, 18 十二月 2020 16:57:26 +0800 Subject: [PATCH] Merge branch '调试' into 定位-临近 --- 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 b389cd0..991567b 100644 --- a/Src/application/global_param.h +++ b/Src/application/global_param.h @@ -3,7 +3,7 @@ #include "main.h" -#define COM_MAP_SIZE 1024 //MAP表的最大空间 +#define COM_MAP_SIZE 512 //MAP表的最大空间 #define DEFAULT_DISTANCE 1000 //初始测距距离为10米 #define DEFAULT_DEV_ID 5555 //默认设备ID是5555 @@ -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