From 768ce43ddc4bd349f7dba772cf478915d550420c Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期五, 26 一月 2024 10:25:27 +0800 Subject: [PATCH] 版本v1.4 修复不上传电量 --- Src/application/global_param.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Src/application/global_param.h b/Src/application/global_param.h index 67823f8..3720698 100644 --- a/Src/application/global_param.h +++ b/Src/application/global_param.h @@ -44,7 +44,11 @@ #define MOTOR_ENABLE 0x1E #define IMU_ENABLE 0x1F #define REMOTEPARA_STATE 0x20 +#define ACTIVE_INDEX 0x22 +#define ANT_LENGTH 0x2A +#define MOTOR_ONTIME 500 +#define MOTOR_OFFTIME 500 #define CNT_RESTART 0x30 #define CNT_REBOOT 0x31 @@ -55,6 +59,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