kopia lustrzana https://github.com/cyoung/stratux
Remove constant "No suitable device found." log message when no GPS found.
Debug only now.pull/793/head v1.6r1
rodzic
4afdebbc5a
commit
377d22b403
|
@ -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 {
|
||||
|
|
Ładowanie…
Reference in New Issue