Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit cdcf86b

Browse files
author
mayopan
committed
Type for ubxFrameCounter is modified
1 parent 877eb4e commit cdcf86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_Ublox_Arduino_Library.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ class SFE_UBLOX_GPS
451451
boolean autoPVT = false; //Whether autoPVT is enabled or not
452452
boolean autoPVTImplicitUpdate = true; // Whether autoPVT is triggered by accessing stale data (=true) or by a call to checkUblox (=false)
453453
boolean commandAck = false; //This goes true after we send a command and it's ack'd
454-
uint8_t ubxFrameCounter;
454+
uint16_t ubxFrameCounter; //It counts all UBX frame. [Fixed header(2bytes), CLS(1byte), ID(1byte), length(2bytes), payload(x bytes), checksums(2bytes)]
455455

456456
uint8_t rollingChecksumA; //Rolls forward as we receive incoming bytes. Checked against the last two A/B checksum bytes
457457
uint8_t rollingChecksumB; //Rolls forward as we receive incoming bytes. Checked against the last two A/B checksum bytes

0 commit comments

Comments
 (0)