From 60c22dec163efa6611827bf1f71466a133aed731 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期五, 04 十二月 2020 12:12:42 +0800 Subject: [PATCH] 关闭DEBUG MODE --- Src/application/global_param.h | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Src/application/global_param.h b/Src/application/global_param.h index ba486d7..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 @@ -43,8 +43,9 @@ #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 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