From 2b4330a42a899011fad6ff9cefd455cd5a9305d7 Mon Sep 17 00:00:00 2001 From: PaulZC Date: Thu, 2 Dec 2021 12:40:05 +0000 Subject: [PATCH] Revert "Deliberately re-introduce a compiler warning - just to test the yml" This reverts commit 3a49e47347d0dc3310a9f0bb503ed7823e230d8f. --- 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 744d716..391355e 100644 --- a/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp +++ b/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp @@ -3164,7 +3164,7 @@ sfe_ublox_status_e SFE_UBLOX_GNSS::sendCommand(ubxPacket *outgoingUBX, uint16_t //Returns false if sensor fails to respond to I2C traffic sfe_ublox_status_e SFE_UBLOX_GNSS::sendI2cCommand(ubxPacket *outgoingUBX, uint16_t maxWait) { - //uint16_t ignoreMe = maxWait; ignoreMe += 0; // Do something with maxWait just to avoid the pesky compiler warnings! + uint16_t ignoreMe = maxWait; ignoreMe += 0; // Do something with maxWait just to avoid the pesky compiler warnings! // From the integration guide: // "The receiver does not provide any write access except for writing UBX and NMEA messages to the