update to strStartsWith()

strStartsWith(nmea, "$GPGLL") now used to identify the sentence.
This commit is contained in:
Rick Sellens 2019-04-16 13:41:25 -04:00
parent ff2c714d4d
commit b431f20491
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ boolean Adafruit_GPS::parse(char *nmea) {
// we dont parse the remaining, yet! // we dont parse the remaining, yet!
return true; return true;
} }
if (strstr(nmea, "$GPGLL")) { if (strStartsWith(nmea, "$GPGLL")) {
// found GLL // found GLL
char *p = nmea; char *p = nmea;