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
7a2ed426
Commit
7a2ed426
authored
Oct 08, 2018
by
Willian Galvani
Browse files
APMSubFrameComponent.qml: update to use versionCompare()
parent
ae27f00d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/APM/APMSubFrameComponent.qml
View file @
7a2ed426
...
...
@@ -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
}
...
...
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