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

Commit 95a729a

Browse files
committed
Update SparkFun_Ublox_Arduino_Library.cpp
1 parent d2503cf commit 95a729a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_Ublox_Arduino_Library.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ void SFE_UBLOX_GPS::processUBX(uint8_t incoming, ubxPacket *incomingUBX, uint8_t
611611
currentSentence = NONE; //We're done! Reset the sentence to being looking for a new start char
612612

613613
//Validate this sentence
614-
if (incomingUBX->checksumA == rollingChecksumA && incomingUBX->checksumB == rollingChecksumB)
614+
if ((incomingUBX->checksumA == rollingChecksumA) && (incomingUBX->checksumB == rollingChecksumB))
615615
{
616616
incomingUBX->valid = SFE_UBLOX_PACKET_VALIDITY_VALID;
617617

0 commit comments

Comments
 (0)