From c7d96af8fc226117b87663bd5934b4a80f9c54e2 Mon Sep 17 00:00:00 2001 From: "Ho Yun \"Bobby" Date: Fri, 29 Jan 2021 16:32:13 -0700 Subject: [PATCH 1/3] Update README.md - Add NEO-M9N, SMA version to the list of products that use the library. No changes in code it's not necessary to bump the version. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2ae2c3e..1eb267f 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ If you would like to learn more about how this library works, including the big * [GPS-15005](https://www.sparkfun.com/products/15005) - SparkFun GPS-RTK Board - NEO-M8P-2 (Qwiic) * [GPS-15210](https://www.sparkfun.com/products/15210) - SparkFun GPS Breakout - Chip Antenna, SAM-M8Q (Qwiic) * [GPS-15193](https://www.sparkfun.com/products/15193) - SparkFun GPS Breakout - Chip Antenna, ZOE-M8Q (Qwiic) +* [GPS-17285](https://www.sparkfun.com/products/17285) - SparkFun GPS Breakout - NEO-M9N, SMA (Qwiic) * [GPS-15733](https://www.sparkfun.com/products/15733) - SparkFun GPS Breakout - NEO-M9N, Chip Antenna (Qwiic) * [GPS-15712](https://www.sparkfun.com/products/15712) - SparkFun GPS Breakout - NEO-M9N, U.FL (Qwiic) * [GPS-16329](https://www.sparkfun.com/products/16329) - SparkFun GPS Dead Reckoning Breakout - NEO-M8U (Qwiic) From 98444da30781bd858873c4c3dbea48423d553bc6 Mon Sep 17 00:00:00 2001 From: MedadRufus Date: Thu, 25 Feb 2021 00:49:53 +0000 Subject: [PATCH 2/3] fix compile errors([-Werror=parentheses]) This error is thrown when compiling for the ESP32. It demands that a parentheses around comparison in operand of '&'. Fix by putting parentheses. --- src/SparkFun_u-blox_GNSS_Arduino_Library.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp b/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp index ddb9abc..aaa1f11 100644 --- a/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp +++ b/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp @@ -9597,7 +9597,7 @@ boolean SFE_UBLOX_GNSS::getSensorFusionMeasurement(UBX_ESF_MEAS_sensorData_t *se if (packetUBXESFMEAS == NULL) //Bail if the RAM allocation failed return (false); - if (packetUBXESFMEAS->moduleQueried.moduleQueried.bits.data & (1 << sensor) == 0) + if (packetUBXESFMEAS->moduleQueried.moduleQueried.bits.data & ((1 << sensor) == 0)) getESFMEAS(maxWait); packetUBXESFMEAS->moduleQueried.moduleQueried.bits.data &= ~(1 << sensor); //Since we are about to give this to user, mark this data as stale packetUBXESFMEAS->moduleQueried.moduleQueried.bits.all = false; @@ -9617,7 +9617,7 @@ boolean SFE_UBLOX_GNSS::getRawSensorMeasurement(UBX_ESF_RAW_sensorData_t *sensor if (packetUBXESFRAW == NULL) //Bail if the RAM allocation failed return (false); - if (packetUBXESFRAW->moduleQueried.moduleQueried.bits.data & (1 << sensor) == 0) + if (packetUBXESFRAW->moduleQueried.moduleQueried.bits.data & ((1 << sensor) == 0)) getESFRAW(maxWait); packetUBXESFRAW->moduleQueried.moduleQueried.bits.data &= ~(1 << sensor); //Since we are about to give this to user, mark this data as stale packetUBXESFRAW->moduleQueried.moduleQueried.bits.all = false; @@ -9639,7 +9639,7 @@ boolean SFE_UBLOX_GNSS::getSensorFusionStatus(UBX_ESF_STATUS_sensorStatus_t *sen if (packetUBXESFSTATUS == NULL) //Bail if the RAM allocation failed return (false); - if (packetUBXESFSTATUS->moduleQueried.moduleQueried.bits.status & (1 << sensor) == 0) + if (packetUBXESFSTATUS->moduleQueried.moduleQueried.bits.status & ((1 << sensor) == 0)) getESFSTATUS(maxWait); packetUBXESFSTATUS->moduleQueried.moduleQueried.bits.status &= ~(1 << sensor); //Since we are about to give this to user, mark this data as stale packetUBXESFSTATUS->moduleQueried.moduleQueried.bits.all = false; From b1eb847f05a4fec11d0c30f1b091b44221d0aa41 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 25 Feb 2021 09:42:59 +0000 Subject: [PATCH 3/3] v2.0.3 --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 8fab224..abda2e9 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SparkFun u-blox GNSS Arduino Library -version=2.0.2 +version=2.0.3 author=SparkFun Electronics maintainer=SparkFun Electronics sentence=Library for I2C and Serial Communication with u-blox GNSS modules