diff --git a/src/AutoPilotPlugins/APM/APMSubFrameComponent.qml b/src/AutoPilotPlugins/APM/APMSubFrameComponent.qml index 301005fa29ec9d92e5283ab1d5b0bb4b2d3e89c8..90839926a2e490291c803c73098da6ae28ac27f2 100644 --- a/src/AutoPilotPlugins/APM/APMSubFrameComponent.qml +++ b/src/AutoPilotPlugins/APM/APMSubFrameComponent.qml @@ -25,7 +25,7 @@ SetupPage { pageComponent: subFramePageComponent property var _activeVehicle: QGroundControl.multiVehicleManager.activeVehicle - property bool _oldFW: !(_activeVehicle.firmwareMajorVersion > 3 || _activeVehicle.firmwareMinorVersion > 5 || _activeVehicle.firmwarePatchVersion >= 2) + property bool _oldFW: _activeVehicle.versionCompare(3 ,5 ,2) < 0 APMAirframeComponentController { id: controller; factPanel: subFramePage.viewPanel }