Add missing else - will speed up execution a _tiny_ bit! ;-)

This commit is contained in:
PaulZC
2022-07-29 09:39:26 +01:00
parent ff2bbe5b35
commit e8b03e770f
+1 -1
View File
@@ -3940,7 +3940,7 @@ void SFE_UBLOX_GNSS::processUBXpacket(ubxPacket *msg)
packetUBXRXMPMPmessage->automaticFlags.flags.bits.callbackCopyValid = true; // Mark the data as valid
}
}
if (msg->id == UBX_RXM_QZSSL6)
else if (msg->id == UBX_RXM_QZSSL6)
// Note: length is variable with version 0x01
// Note: the field positions depend on the version
{