Skip to content

Commit e8b03e7

Browse files
committed
Add missing else - will speed up execution a _tiny_ bit! ;-)
1 parent ff2bbe5 commit e8b03e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_u-blox_GNSS_Arduino_Library.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3940,7 +3940,7 @@ void SFE_UBLOX_GNSS::processUBXpacket(ubxPacket *msg)
39403940
packetUBXRXMPMPmessage->automaticFlags.flags.bits.callbackCopyValid = true; // Mark the data as valid
39413941
}
39423942
}
3943-
if (msg->id == UBX_RXM_QZSSL6)
3943+
else if (msg->id == UBX_RXM_QZSSL6)
39443944
// Note: length is variable with version 0x01
39453945
// Note: the field positions depend on the version
39463946
{

0 commit comments

Comments
 (0)