chores(flysky): Separate AFHDS2A and AFHDS3 into 2 different module type (#3783)
* chores(flysky): separate AFHDS2A and AFHDS3 into 2 different module type This should allow to remove some of the hacks added earlier. * chore: Add some EL18 CI bits * fix(afhds): cmake defs * fix(ci): add el18 to commit-tests.sh * chore(cpn): separate AFHDS2A and AFHDS3 * chore(cpn): remove binary import of afhds and legacy fxFreq field for afhds3 * fix(cpn): limit available internal afhds protocols to those supported by hardware * chore(cpn): update Flysky int module test * fix(cpn): compile error * fix(cpn): afhds2a max channels * fix: TR_MODULE_PROTOCOLS * enh(cpn): more support for afhds2a and 3 * fix(cpn): rebase compile error * fix(cpn): bit indexes * fix(cpn): emi toString * fix(cpn): limit available internal afhds protocols to those supported by hardware * enh(cpn): add support for Flysky EL18 * fix(cpn): available protocols * fix(cpn): rebase moduledata * chore(cpn): add module fields to model print * Separate AFHDS2A and AFHDS3 UI settings. * Fix AFHDS3 conversion from old subtype value. Fix 'Channel Range' layout on portrait LCD. * Fix name. --------- Co-authored-by: Peter Feerick <peter.feerick@gmail.com> Co-authored-by: elecpower <neilh713@tpg.com.au> Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
This commit is contained in:
co-authored by
Peter Feerick
elecpower
Phil Mitchell
parent
9515d29c9d
commit
c4f1e7127d
@@ -258,7 +258,7 @@ LEGACY_NAMES = [
|
||||
"targets": {
|
||||
"commando8",
|
||||
"lr3pro",
|
||||
"nv14",
|
||||
"nv14", "el18",
|
||||
"t8", "t12",
|
||||
"tlite", "tlitef4", "tpro", "tprov2",
|
||||
"tx12", "tx12mk2",
|
||||
|
||||
@@ -6,6 +6,14 @@ POT_CONFIG = {
|
||||
"P2": {"default": "WITH_DETENT"},
|
||||
"P3": {"default": "MULTIPOS_SWITCH"}
|
||||
},
|
||||
"el18": {
|
||||
"P1": { "default": "WITHOUT_DETENT"},
|
||||
"P2": { "default": "WITHOUT_DETENT"}
|
||||
},
|
||||
"nv14": {
|
||||
"P1": { "default": "WITHOUT_DETENT"},
|
||||
"P2": { "default": "WITHOUT_DETENT"}
|
||||
},
|
||||
"tpro": {
|
||||
"P1": {"default": "WITH_DETENT"},
|
||||
"P2": {"default": "WITH_DETENT"}
|
||||
|
||||
@@ -19,6 +19,16 @@ SWITCH_CONFIG = {
|
||||
"SB": {"default": "3POS", "display": [1, 0]},
|
||||
"SD": {"default": "2POS", "display": [1, 1]}
|
||||
},
|
||||
"el18": {
|
||||
"SA": { "default": "2POS" },
|
||||
"SB": { "default": "3POS" },
|
||||
"SC": { "default": "3POS" },
|
||||
"SD": { "default": "2POS" },
|
||||
"SE": { "default": "2POS" },
|
||||
"SF": { "default": "3POS" },
|
||||
"SG": { "default": "3POS" },
|
||||
"SH": { "default": "TOGGLE" }
|
||||
},
|
||||
"lr3pro": {
|
||||
# left side
|
||||
"SA": {"default": "3POS", "display": [0, 0]},
|
||||
|
||||
Reference in New Issue
Block a user