kopia lustrzana https://github.com/cyoung/stratux
Use isGPSValid().
rodzic
fe7dc97c19
commit
b431187d7a
|
@ -1949,7 +1949,7 @@ func gpsAttitudeSender() {
|
|||
for globalSettings.GPS_Enabled && globalStatus.GPS_connected {
|
||||
<-timer.C
|
||||
|
||||
if mySituation.Quality == 0 || !calcGPSAttitude() {
|
||||
if !isGPSValid() || !calcGPSAttitude() {
|
||||
if globalSettings.DEBUG {
|
||||
log.Printf("Couldn't calculate GPS-based attitude statistics\n")
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue