more robust NMEA parsing for unexpected SoftRF configs (GDL90+NMEA on serial port

pull/827/merge^2
Adrian Batzill 2020-06-13 14:02:45 +02:00
rodzic 6d740a36ad
commit dd1dae0389
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -2123,6 +2123,11 @@ func gpsSerialReader() {
}
s := scanner.Text()
startIdx := strings.Index(s, "$")
if startIdx < 0 {
continue
}
s = s[startIdx:]
if !processNMEALine(s) {
if globalSettings.DEBUG {