Commit 62eed38a authored by Gus Grubba's avatar Gus Grubba

Merge pull request #2562 from dogmaphobic/fixHDOP

Fix GPS indicator so it handles non existing HDOP/VDOP values.
parents 0d962e0a 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 {
......
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