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
+6
View File
@@ -195,6 +195,12 @@ inline uint8_t MODULE_CHANNELS_ROWS(int moduleIdx)
}
}
#if defined(EXTERNAL_ANTENNA) && defined(INTERNAL_MODULE_PXX1)
void onAntennaSwitchConfirm(const char * result);
void checkExternalAntenna();
void onAntennaSelection(const char* result);
#endif
#if defined(PXX2)
inline bool isRacingModeAllowed()
{