pull/319/merge
Christopher Young 2016-03-10 12:33:03 -05:00
rodzic f880d1e61a
commit 2e621cb426
1 zmienionych plików z 6 dodań i 4 usunięć

Wyświetl plik

@ -75,7 +75,7 @@ var serialPort *serial.Port
var readyToInitGPS bool // TO-DO: replace with channel control to terminate goroutine when complete
/*
file:///Users/c/Downloads/u-blox5_Referenzmanual.pdf
u-blox5_Referenzmanual.pdf
Platform settings
Airborne <2g Recommended for typical airborne environment. No 2D position fixes supported.
p.91 - CFG-MSG
@ -982,9 +982,11 @@ func gpsSerialReader() {
}
s := scanner.Text()
//fmt.Printf("Output: %s\n", s)
if !(processNMEALine(s)) {
// fmt.Printf("processNMEALine() exited early -- %s\n",s) //debug code. comment out before pushing to github
if !processNMEALine(s) {
if globalSettings.DEBUG {
fmt.Printf("processNMEALine() exited early -- %s\n", s)
}
}
}
if err := scanner.Err(); err != nil {