From a49e4626cbc1d798cea373e2025fca3c3bb211b4 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期一, 17 四月 2023 17:08:24 +0800 Subject: [PATCH] V1.54 去掉静止休眠标志位,增加串口开机输出版本信息 --- Src/application/global_param.h | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Src/application/global_param.h b/Src/application/global_param.h index 2d0379d..ef76617 100644 --- a/Src/application/global_param.h +++ b/Src/application/global_param.h @@ -40,10 +40,11 @@ #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 @@ -56,11 +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