Browse Source

Use new controller.vehicle property to get fixedWing

QGC4.4
Don Gagne 9 years ago
parent
commit
c3c3f5f81b
  1. 2
      src/AutoPilotPlugins/PX4/SensorsComponent.qml

2
src/AutoPilotPlugins/PX4/SensorsComponent.qml

@ -348,7 +348,7 @@ QGCView { @@ -348,7 +348,7 @@ QGCView {
id: airspeedButton
width: parent.buttonWidth
text: qsTr("Airspeed")
visible: controller.fixedWing
visible: controller.vehicle.fixedWing && controller.getParameterFact(-1, "CBRK_AIRSPD_CHK").value != 162128
indicatorGreen: sens_dpres_off.value != 0
onClicked: {

Loading…
Cancel
Save