Browse Source

Merge pull request #7326 from stefandunca/pr-show_fw_custom_ver

Display FW custom version in the summary page
QGC4.4
Gus Grubba 6 years ago committed by GitHub
parent
commit
0f73e53fdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/AutoPilotPlugins/PX4/AirframeComponentSummary.qml

5
src/AutoPilotPlugins/PX4/AirframeComponentSummary.qml

@ -39,5 +39,10 @@ FactPanel { @@ -39,5 +39,10 @@ FactPanel {
labelText: qsTr("Firmware Version")
valueText: activeVehicle.firmwareMajorVersion === -1 ? qsTr("Unknown") : activeVehicle.firmwareMajorVersion + "." + activeVehicle.firmwareMinorVersion + "." + activeVehicle.firmwarePatchVersion + activeVehicle.firmwareVersionTypeString
}
VehicleSummaryRow {
visible: activeVehicle.firmwareCustomMajorVersion !== -1
labelText: qsTr("Custom Fw. Ver.")
valueText: activeVehicle.firmwareCustomMajorVersion + "." + activeVehicle.firmwareCustomMinorVersion + "." + activeVehicle.firmwareCustomPatchVersion
}
}
}

Loading…
Cancel
Save