Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
dbf27f91
Commit
dbf27f91
authored
Mar 27, 2019
by
Stefan Dunca
Browse files
Display FW custom version in the summary page
parent
522a9204
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/PX4/AirframeComponentSummary.qml
View file @
dbf27f91
...
@@ -39,5 +39,10 @@ FactPanel {
...
@@ -39,5 +39,10 @@ FactPanel {
labelText
:
qsTr
(
"
Firmware Version
"
)
labelText
:
qsTr
(
"
Firmware Version
"
)
valueText
:
activeVehicle
.
firmwareMajorVersion
===
-
1
?
qsTr
(
"
Unknown
"
)
:
activeVehicle
.
firmwareMajorVersion
+
"
.
"
+
activeVehicle
.
firmwareMinorVersion
+
"
.
"
+
activeVehicle
.
firmwarePatchVersion
+
activeVehicle
.
firmwareVersionTypeString
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
}
}
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment