From d69aae90ede578aaebc355dafd3496993ccea126 Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期一, 17 十月 2022 03:02:12 +0800
Subject: [PATCH] fix 2

---
 Inc/GlobalDef.h |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/Inc/GlobalDef.h b/Inc/GlobalDef.h
index b9c380f..b28e452 100644
--- a/Inc/GlobalDef.h
+++ b/Inc/GlobalDef.h
@@ -16,7 +16,10 @@
 	4  //New Master 16 in16 out V1.2
 	5  //Slave 8 in 8 out V1.2
 */
-#define XLAT_FREQ 12
+
+
+#define DefaultUart1Baud 230400
+#define DefaultUart2Baud 1000000
 
 enum enBOARD_TYPE
 {
@@ -33,12 +36,17 @@
 	BOARD_V42_SLAVE,		//10	New V4.2 Slave 8 in 8 o	
 	
 	BOARD_V30_MINI	=11,		//11  Mini Board
+	
+	BOARD_EXT_FP0 = 12,
+	BOARD_V45_NET = 13,
+	BOARD_V50_RADIO = 15, 
 };
 
 #define BOARD_TYPE 11
+#define XLAT_FREQ 12
 
 
-extern int GetBoardType(void);
+#define GetBoardType() (BOARD_TYPE)
 
 extern volatile int PendSvCount;
 
@@ -76,7 +84,6 @@
 extern stUartStat Uart1Stat;
 extern stUartStat Uart2Stat;
 
-extern const unsigned int DefaultUart1Baud;
 extern unsigned int Uart1Baud;
 extern unsigned int Uart2Baud;
 

--
Gitblit v1.9.1