From 7a2ff321965f1f24f3047fedd44a83f451f1f793 Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期三, 01 二月 2023 10:58:10 +0800
Subject: [PATCH] radio add new device type

---
 Src/BSP.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Src/BSP.c b/Src/BSP.c
index f2e255c..a43a37b 100644
--- a/Src/BSP.c
+++ b/Src/BSP.c
@@ -732,7 +732,7 @@
 		LL_GPIO_PIN_12|LL_GPIO_PIN_13|LL_GPIO_PIN_15;
 		
 	}
-	else if (GetBoardType()==9 || GetBoardType()==10 || GetBoardType()==15 )
+	else if (GetBoardType()==9 || GetBoardType()==10 || GetBoardType()==15 || BOARD_TYPE == 16 )
 	{
 		GPIO_InitStruct.Pin = LL_GPIO_PIN_3|LL_GPIO_PIN_5|LL_GPIO_PIN_6|LL_GPIO_PIN_7|
 		LL_GPIO_PIN_11|LL_GPIO_PIN_1|LL_GPIO_PIN_2|LL_GPIO_PIN_10|
@@ -818,7 +818,7 @@
   GPIO_InitStruct.Pull = LL_GPIO_PULL_UP;
   LL_GPIO_Init(OE_PORT, &GPIO_InitStruct);
 
-#elif (BOARD_TYPE == 15)
+#elif (BOARD_TYPE == 15 || BOARD_TYPE == 16)
 
 	// Radio Pins
 	// busy pin

--
Gitblit v1.9.1