From d0d2b8c01b47b3744e1af549561a8212e4a9311c Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期一, 20 三月 2023 09:29:00 +0800 Subject: [PATCH] 新增版本v1.51 --- Src/application/global_param.h | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Src/application/global_param.h b/Src/application/global_param.h index 67823f8..ef76617 100644 --- a/Src/application/global_param.h +++ b/Src/application/global_param.h @@ -40,11 +40,14 @@ #define POWER 0x1B #define IMU_THRES 0x1C -#define NOMOVESLEEP_TIME 0x1D -#define MOTOR_ENABLE 0x1E -#define IMU_ENABLE 0x1F +#define NOMOVESLEEP_TIME 0x1D +#define MOTOR_ENABLE 0x1E +#define IMU_ENABLE 0x1F #define REMOTEPARA_STATE 0x20 +#define ACTIVE_INDEX 0x22 +#define MOTOR_ONTIME 500 +#define MOTOR_OFFTIME 500 #define CNT_RESTART 0x30 #define CNT_REBOOT 0x31 @@ -54,10 +57,11 @@ /*------------END Map Definition-------------------*/ -extern uint16_t g_com_map[COM_MAP_SIZE]; +extern uint16_t g_com_map[COM_MAP_SIZE],g_com_map2[COM_MAP_SIZE]; +extern uint16_t rtag_com_map[30]; extern uint32_t save_com_map_to_flash(void); extern void parameter_init(void); - +void EnterUWBUpdateMode(void); #endif -- Gitblit v1.9.3