From 8e69deaacad4737c0c31b0c6b436edbbe140584d Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期六, 10 十月 2020 15:03:16 +0800 Subject: [PATCH] 定位临近初测成功 --- Src/application/global_param.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Src/application/global_param.h b/Src/application/global_param.h index b389cd0..2ab1e4e 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,7 @@ #define MOTOR_ENABLE 0x1E #define IMU_ENABLE 0x1F #define REMOTEPARA_STATE 0x20 - +#define MOTOR_ONTIME 0x21 #define CNT_RESTART 0x30 #define CNT_REBOOT 0x31 @@ -55,6 +55,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