Remove constant "No suitable device found." log message when no GPS found.

Debug only now.
pull/793/head v1.6r1
cyoung 2019-08-12 16:21:21 -04:00
rodzic 4afdebbc5a
commit 377d22b403
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -217,7 +217,9 @@ func initGPSSerial() bool {
device = "/dev/ttyAMA0"
globalStatus.GPS_detected_type = GPS_TYPE_UART
} else {
log.Printf("No suitable device found.\n")
if globalSettings.DEBUG {
log.Printf("No GPS device found.\n")
}
return false
}
if globalSettings.DEBUG {