Small tweaks
This commit is contained in:
@@ -1769,6 +1769,7 @@ void SFE_UBLOX_GNSS::process(uint8_t incoming, ubxPacket *incomingUBX, uint8_t r
|
||||
uint8_t *workingLengthPtr = getNMEAWorkingLengthPtr(); // Get a pointer to the working copy length
|
||||
uint8_t *workingNMEAPtr = getNMEAWorkingNMEAPtr(); // Get a pointer to the working copy NMEA data
|
||||
uint8_t nmeaMaxLength = getNMEAMaxLength();
|
||||
|
||||
// Check the checksum: the checksum is the exclusive-OR of all characters between the $ and the *
|
||||
uint8_t nmeaChecksum = 0;
|
||||
uint8_t charsChecked = 1; // Start after the $
|
||||
|
||||
@@ -2252,7 +2252,7 @@ struct nmeaAutomaticFlags
|
||||
// The max length for NMEA messages should be 82 bytes, but GGA messages can exceed that if they include the
|
||||
// extra decimal places for "High Precision".
|
||||
//
|
||||
// To be safe, let's allocate 90 bytes to store the message
|
||||
// To be safe, let's allocate 90 bytes to store the GGA message
|
||||
|
||||
const uint8_t NMEA_GGA_MAX_LENGTH = 90;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user