feat(X10/X12S) Int/Ext Antenna UI (#1765)

* feature(colorlcd): antenna selection

* fix: let's assume all internal XJT modules used in horus targets are either X10 or X12S type

* fix NV14 compilation

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
This commit is contained in:
Peter Feerick
2022-10-11 21:48:46 +10:00
committed by GitHub
co-authored by Raphael Coeffic
parent 324c8e9eef
commit e90cd0f440
11 changed files with 271 additions and 76 deletions
+4 -4
View File
@@ -810,10 +810,10 @@
#define FLYSKY_HALL_TX_DMA_Stream_IRQHandler DMA1_Stream4_IRQHandler
#endif
// Internal Module
#if !defined(RADIO_FAMILY_T16)
#define EXTERNAL_ANTENNA
#endif
// Internal PXX1 Module:
// -> let's assume all internal XJT modules used are either X10 or X12S type
#define EXTERNAL_ANTENNA
#define INTMODULE_RCC_AHB1Periph (RCC_AHB1Periph_GPIOA | RCC_AHB1Periph_GPIOB | RCC_AHB1Periph_DMA2)
#define INTMODULE_PWR_GPIO GPIOA
#define INTMODULE_PWR_GPIO_PIN GPIO_Pin_8 // PA.08