fix: [companion] Throttle trace source conversion error (#1401)
Accounts now for EX3 & EX4 Resolves #1398
This commit is contained in:
@@ -2910,10 +2910,17 @@ void OpenTxModelData::afterImport()
|
||||
}
|
||||
}
|
||||
|
||||
// EX1 / EX2
|
||||
if (version <= 218 && IS_HORUS_X10(board) && modelData.thrTraceSrc > 3) {
|
||||
modelData.thrTraceSrc += 2;
|
||||
}
|
||||
|
||||
// EX3 / EX4
|
||||
if (version <= 220 && (IS_HORUS_X10(board) || IS_FAMILY_T16(board)) &&
|
||||
modelData.thrTraceSrc > 5) {
|
||||
modelData.thrTraceSrc += 2;
|
||||
}
|
||||
|
||||
// TODO remove when enum not radio specific requires eeprom change and conversion
|
||||
// Note: this must mirror reverse beforeExport
|
||||
if (!IS_FLYSKY_NV14(board))
|
||||
|
||||
Reference in New Issue
Block a user