From 6e39707d1deda59da8b133fb73b1632d75fef03d Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期一, 07 十一月 2022 14:55:28 +0800
Subject: [PATCH] 1.42 修改重启和单片机电压检测

---
 Src/application/global_param.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Src/application/global_param.h b/Src/application/global_param.h
index 67823f8..c9feaa1 100644
--- a/Src/application/global_param.h
+++ b/Src/application/global_param.h
@@ -44,7 +44,10 @@
 #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
@@ -55,6 +58,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