Bluetooth driver added to Horus, BT_EN_GPIO_PIN was wrong on beta board (#4005)
CLI interface for Bluetooth
This commit is contained in:
committed by
Bertrand Songis
parent
5869b81e9c
commit
7b2d8b1f0a
@@ -422,9 +422,9 @@
|
||||
#define BT_EN_GPIO GPIOI
|
||||
#define BT_EN_GPIO_PIN GPIO_Pin_10 // PI.10
|
||||
#else
|
||||
#define BT_RCC_AHB1Periph (RCC_AHB1Periph_GPIOB | RCC_AHB1Periph_GPIOG)
|
||||
#define BT_EN_GPIO GPIOB
|
||||
#define BT_EN_GPIO_PIN GPIO_Pin_10 // PB.10
|
||||
#define BT_RCC_AHB1Periph (RCC_AHB1Periph_GPIOA | RCC_AHB1Periph_GPIOG)
|
||||
#define BT_EN_GPIO GPIOA
|
||||
#define BT_EN_GPIO_PIN GPIO_Pin_6 // PA.06
|
||||
#endif
|
||||
#define BT_BRTS_GPIO GPIOG
|
||||
#define BT_BRTS_GPIO_PIN GPIO_Pin_10 // PG.10
|
||||
|
||||
Reference in New Issue
Block a user