bugfix: commit 5c8504add6 broke importing of trim values for FM0 - they were all set to zero.
This commit is contained in:
@@ -777,7 +777,7 @@ class FlightModeField: public TransformedField {
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (phase.swtch == RawSwitch(SWITCH_TYPE_NONE)) {
|
||||
if (phase.swtch == RawSwitch(SWITCH_TYPE_NONE) && index > 0) {
|
||||
phase.trimRef[i] = 0;
|
||||
phase.trimMode[i] = 0;
|
||||
phase.trim[i] = 0;
|
||||
|
||||
Reference in New Issue
Block a user