diff --git a/src/NMEA_parse.cpp b/src/NMEA_parse.cpp index 942d198..97d603a 100644 --- a/src/NMEA_parse.cpp +++ b/src/NMEA_parse.cpp @@ -545,6 +545,7 @@ bool Adafruit_GPS::parse(char *nmea) { /**************************************************************************/ boolean Adafruit_GPS::check(char *nmea) { thisCheck = 0; // new check + *thisSentence = *thisSource = 0; if (*nmea != '$' && *nmea != '!') return false; // doesn't start with $ or ! else