Skip to content

Commit 34b9828

Browse files
committed
Small tweaks
1 parent 185c6c2 commit 34b9828

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/SparkFun_u-blox_GNSS_Arduino_Library.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1769,6 +1769,7 @@ void SFE_UBLOX_GNSS::process(uint8_t incoming, ubxPacket *incomingUBX, uint8_t r
17691769
uint8_t *workingLengthPtr = getNMEAWorkingLengthPtr(); // Get a pointer to the working copy length
17701770
uint8_t *workingNMEAPtr = getNMEAWorkingNMEAPtr(); // Get a pointer to the working copy NMEA data
17711771
uint8_t nmeaMaxLength = getNMEAMaxLength();
1772+
17721773
// Check the checksum: the checksum is the exclusive-OR of all characters between the $ and the *
17731774
uint8_t nmeaChecksum = 0;
17741775
uint8_t charsChecked = 1; // Start after the $

src/u-blox_structs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2252,7 +2252,7 @@ struct nmeaAutomaticFlags
22522252
// The max length for NMEA messages should be 82 bytes, but GGA messages can exceed that if they include the
22532253
// extra decimal places for "High Precision".
22542254
//
2255-
// To be safe, let's allocate 90 bytes to store the message
2255+
// To be safe, let's allocate 90 bytes to store the GGA message
22562256

22572257
const uint8_t NMEA_GGA_MAX_LENGTH = 90;
22582258

0 commit comments

Comments
 (0)