From 61cbf077fdb7b00a961e4edb6bd9c4065bd3efae Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期三, 20 一月 2021 11:06:05 +0800
Subject: [PATCH] V1.38 1恢复出厂模式设置正常

---
 源码/核心板/Src/application/global_param.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h"
index ad7dcc5..c2cd41e 100644
--- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h"
+++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h"
@@ -7,6 +7,9 @@
 #define	DEFAULT_DISTANCE	1000		//初始测距距离为10米
 #define DEFAULT_DEV_ID		5555		//默认设备ID是5555
 #define SYNCLOST_TIME     10000  //多久收不到信号变成同步基站
+#define SW_MODBUS     		 	1
+#define SW_FANGZHUANG       2
+#define SW_DINGWEI      		3
 /*---------------Map Definition-------------------*/
 #define   MAP_SIGN_INDEX        0x0
 #define 	VERSION        			  0x1		
@@ -43,6 +46,9 @@
 #define   MOTOR_ENABLE        0x1E
 #define   IMU_ENABLE          0x1F
 #define 	FILTER_COEFFICIENT  0x20
+#define 	WHITELIST1_START  	0x25
+#define 	WHITELIST1_END  		0x26
+#define 	SW_TYPE  						0x27
 
 #define 	CNT_RESTART						0x30
 #define 	CNT_REBOOT						0x31

--
Gitblit v1.9.3