From e8b03e770f757f709dec2df284938be576c140a9 Mon Sep 17 00:00:00 2001 From: PaulZC Date: Fri, 29 Jul 2022 09:39:26 +0100 Subject: [PATCH] Add missing else - will speed up execution a _tiny_ bit! ;-) --- src/SparkFun_u-blox_GNSS_Arduino_Library.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp b/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp index 00ee008..1b50c19 100644 --- a/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp +++ b/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp @@ -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 {