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/functions.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/Src/functions.c b/Src/functions.c
index feedbc0..7409ad5 100644
--- a/Src/functions.c
+++ b/Src/functions.c
@@ -618,6 +618,9 @@
 						return 0;	//FP0
 		case 15:
 						return Input165_R(16);
+		case 16:
+						return Input165_R(8);
+		
 		default:
 			break;
 	}
@@ -709,6 +712,7 @@
 		case 14:
 					 return (~(LL_GPIO_ReadInputPort(GPIOA)>>4))&0x0f;	//FP0
 		case 15:
+		case 16:
 					 return ReadConfig_5();	//Wireless Master Slave 8 in 8 o
 		default:
 			
@@ -858,7 +862,7 @@
 	//Output595_16(Y);
 }
 
-#if (BOARD_TYPE == 9 || BOARD_TYPE == 10 || BOARD_TYPE == 15 )
+#if (BOARD_TYPE == 9 || BOARD_TYPE == 10 || BOARD_TYPE == 15 ||  BOARD_TYPE == 16)
 //#pragma message("9,10")
 	// V4.2 绠¤剼鎺掑垪鍚戝彸绉诲姩浜嗕竴浣嶃��
 #define SRCLK1_0() LL_GPIO_ResetOutputPin(GPIOB,LL_GPIO_PIN_1)

--
Gitblit v1.9.1