Commit 73aeee55 authored by Willian Galvani's avatar Willian Galvani

APMSafetyComponentSummarySub.qml: update to use versionCompare()

parent 559f09cd
......@@ -13,7 +13,7 @@ FactPanel {
color: qgcPal.windowShadeDark
property var _activeVehicle: QGroundControl.multiVehicleManager.activeVehicle
property bool _firmware34: _activeVehicle.firmwareMajorVersion == 3 && _activeVehicle.firmwareMinorVersion == 4
property bool _firmware34: _activeVehicle.versionCompare(3, 5, 0) < 0
QGCPalette { id: qgcPal; colorGroupEnabled: enabled }
FactPanelController { id: controller; factPanel: panel }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment