From b431f2049151cf5512bee8eac861acc0393ec25c Mon Sep 17 00:00:00 2001 From: Rick Sellens Date: Tue, 16 Apr 2019 13:41:25 -0400 Subject: [PATCH] update to strStartsWith() strStartsWith(nmea, "$GPGLL") now used to identify the sentence. --- Adafruit_GPS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adafruit_GPS.cpp b/Adafruit_GPS.cpp index fde50c0..c53aea4 100755 --- a/Adafruit_GPS.cpp +++ b/Adafruit_GPS.cpp @@ -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;