Merge pull request #61 from pdoddster/master

Fail parser if no checksum
This commit is contained in:
Matt Goodrich 2019-04-16 10:18:02 -04:00 committed by GitHub
commit f8c5386402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ boolean Adafruit_GPS::parse(char *nmea) {
// bad checksum :(
return false;
}
} else {
return false;
}
int32_t degree;
long minutes;