Skip to content

Commit

Permalink
fix for lyusupov#24
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Jul 23, 2018
1 parent 8164d86 commit cee531d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/firmware/source/SoftRF/GNSSHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ void PickGNSSFix()

//calculate the checksum
unsigned char cs = 0;
for (unsigned int n = 1; n < sentence_size - 1; n++) {
for (unsigned int n = 2; n < sentence_size - 1; n++) {
cs ^= GNSSbuf[(GNSS_cnt+1) + n];
}

Expand Down

0 comments on commit cee531d

Please sign in to comment.