update to strStartsWith()
strStartsWith(nmea, "$GPGLL") now used to identify the sentence.
This commit is contained in:
parent
ff2c714d4d
commit
b431f20491
|
|
@ -285,7 +285,7 @@ boolean Adafruit_GPS::parse(char *nmea) {
|
|||
// we dont parse the remaining, yet!
|
||||
return true;
|
||||
}
|
||||
if (strstr(nmea, "$GPGLL")) {
|
||||
if (strStartsWith(nmea, "$GPGLL")) {
|
||||
// found GLL
|
||||
char *p = nmea;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue