kopia lustrzana https://github.com/cyoung/stratux
Cleanup.
rodzic
f880d1e61a
commit
2e621cb426
|
|
@ -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 {
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue