Browse Source

PX4SimpleFlightModes.qml: Rename the variable for bugfix

This was introduced in
d5dc4f1af1,
and the refactor didn't fix the case for RC_MAP_FLAPS case correctly,
leading to the bug report: https://github.com/PX4/PX4-Autopilot/issues/21927
QGC4.4
Junwoo Hwang 2 years ago committed by Don Gagne
parent
commit
9b6b359928
  1. 4
      src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml

4
src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml

@ -34,8 +34,8 @@ Item { @@ -34,8 +34,8 @@ Item {
_switchTHList.push("RC_TRANS_TH")
}
if (controller.vehicle.fixedWing) {
_switchFactList.push("RC_MAP_FLAPS")
_switchTHFactList.push("")
_switchNameList.push("RC_MAP_FLAPS")
_switchTHList.push("")
}
switchRepeater.model = _switchNameList
}

Loading…
Cancel
Save