From f603e50972a701a41c17fc97c9c82f85b6639200 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期四, 12 十一月 2020 11:29:41 +0800 Subject: [PATCH] 增加基站转点距离,增加主基站最后回复。 --- Src/application/global_param.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Src/application/global_param.h b/Src/application/global_param.h index ba486d7..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 @@ -43,8 +43,8 @@ #define NOMOVESLEEP_TIME 0x1D #define MOTOR_ENABLE 0x1E #define IMU_ENABLE 0x1F -#define FILTER_COEFFICIENT 0x20 - +#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