kopia lustrzana https://github.com/cyoung/stratux
Update GPS satellite variables even if isGPSValid() is false.
isGPSValid() only when “acceptable” solution is found, updating variables shows progress.pull/156/merge
rodzic
446112aced
commit
d94e049ba2
|
@ -701,10 +701,10 @@ func cpuTempMonitor() {
|
|||
}
|
||||
|
||||
func updateStatus() {
|
||||
if isGPSValid() {
|
||||
globalStatus.GPS_satellites_locked = mySituation.Satellites
|
||||
globalStatus.GPS_satellites_seen = mySituation.SatellitesSeen
|
||||
globalStatus.GPS_satellites_tracked = mySituation.SatellitesTracked
|
||||
if isGPSValid() {
|
||||
if mySituation.quality == 2 {
|
||||
globalStatus.GPS_solution = "DGPS (SBAS / WAAS)"
|
||||
} else if mySituation.quality == 1 {
|
||||
|
|
Ładowanie…
Reference in New Issue