Add support for radiomaster TX12 (#8080)

* Add tx12 support
This commit is contained in:
3djc
2020-11-14 11:48:46 +01:00
committed by GitHub
parent da0da4b9c9
commit e1e67a9d8c
74 changed files with 893 additions and 120 deletions
+1 -1
View File
@@ -364,7 +364,7 @@ RawSource RawSource::convert(RadioDataConversionState & cstate)
if (index >= 0)
evt = RadioDataConversionState::EVT_CVRT;
}
else if (IS_JUMPER_T12(cstate.toType) && (IS_TARANIS_X9(cstate.fromType) || IS_FAMILY_HORUS_OR_T16(cstate.fromType))) {
else if (IS_FAMILY_T12(cstate.toType) && (IS_TARANIS_X9(cstate.fromType) || IS_FAMILY_HORUS_OR_T16(cstate.fromType))) {
// No SE and SG on T12 board
index = toSwitchList.indexOf("SD");
if (index >= 0)