Skip to content

Commit

Permalink
PX4SimpleFlightModes.qml: Rename the variable for bugfix
Browse files Browse the repository at this point in the history
This was introduced in
d5dc4f1,
and the refactor didn't fix the case for RC_MAP_FLAPS case correctly,
leading to the bug report: PX4/PX4-Autopilot#21927
  • Loading branch information
junwoo091400 authored and DonLakeFlyer committed Aug 5, 2023
1 parent 27341c8 commit 9b6b359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9b6b359

Please sign in to comment.