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
85cf1f59
Commit
85cf1f59
authored
Jan 09, 2016
by
dogmaphobic
Browse files
Fix GPS indicator so it handles non existing HDOP/VDOP values.
parent
0d962e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/toolbar/MainToolBar.qml
View file @
85cf1f59
...
...
@@ -259,7 +259,7 @@ Rectangle {
color
:
colorWhite
}
QGCLabel
{
text
:
activeVehicle
?
(
activeVehicle
.
satRawHDOP
.
toFixed
(
0
))
:
"
N/A
"
text
:
activeVehicle
?
(
activeVehicle
.
satRawHDOP
<
10000
?
activeVehicle
.
satRawHDOP
.
toFixed
(
0
)
:
"
N/A
"
)
:
"
N/A
"
color
:
colorWhite
}
QGCLabel
{
...
...
@@ -267,7 +267,7 @@ Rectangle {
color
:
colorWhite
}
QGCLabel
{
text
:
activeVehicle
?
(
activeVehicle
.
satRawVDOP
.
toFixed
(
0
))
:
"
N/A
"
text
:
activeVehicle
?
(
activeVehicle
.
satRawVDOP
<
10000
?
activeVehicle
.
satRawVDOP
.
toFixed
(
0
)
:
"
N/A
"
)
:
"
N/A
"
color
:
colorWhite
}
QGCLabel
{
...
...
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