Skip to content

Commit

Permalink
Update NmeaChecksum.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Sep 10, 2024
1 parent 2a7de47 commit c5ac9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbn_wave_freq_m5atomS3/NmeaChecksum.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ int nmea0183_checksum(char *nmea_data_before_asterisk) {
int crc = 0;
int i;
// the first $ sign
for (i = 1; i < strlen(nmea_data); i ++) {
for (i = 1; i < strlen(nmea_data_before_asterisk); i ++) {
crc ^= nmea_data[i];
}
return crc;
Expand Down

0 comments on commit c5ac9f2

Please sign in to comment.