chore: Remove "OFF" from protocol lists (#2186)

* chore: Remove "OFF" from protocol lists

* Fix subType setting for X9D+2019

* fix: Chan start and count for ISRM, dup type set
Channel start and count wasn't being updated for ISRM.
Also remove duplicate modulke type setting, which was the
cause of an earlier bug that was worked around on 128x64

* fix(colorlcd): Shorter ACCST opts string crash

* chore: Formatting only

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
This commit is contained in:
Peter Feerick
2022-08-05 21:21:56 +10:00
committed by GitHub
co-authored by Raphael Coeffic
parent 62692dba6a
commit a3d44d7b09
4 changed files with 120 additions and 99 deletions
+1 -5
View File
@@ -142,12 +142,8 @@
#define TR_INTERNAL_MODULE_PROTOCOLS TR_EXTERNAL_MODULE_PROTOCOLS
#define TR_FLYSKY_PROTOCOLS "AFHDS3","AFHDS2A"
#define TR_XJT_ACCST_RF_PROTOCOLS "OFF","D16","D8","LR12"
#if defined(COLORLCD)
#define TR_XJT_ACCST_RF_PROTOCOLS "D16","D8","LR12"
#define TR_ISRM_RF_PROTOCOLS "ACCESS","D16","LR12"
#else
#define TR_ISRM_RF_PROTOCOLS "OFF","ACCESS","D16","LR12"
#endif
#define TR_R9M_PXX2_RF_PROTOCOLS "ACCESS","FCC","EU","Flex"
#define TR_SPORT_MODES "S.PORT","F.PORT","FBUS(FPORT2)"
#define TR_R9M_REGION "FCC","EU","868MHz","915MHz"