Skip to content

Commit c931a04

Browse files
committed
Merge branch 'master' into release_candidate
2 parents 0638524 + b1eb847 commit c931a04

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ If you would like to learn more about how this library works, including the big
8787
* [GPS-15005](https://www.sparkfun.com/products/15005) - SparkFun GPS-RTK Board - NEO-M8P-2 (Qwiic)
8888
* [GPS-15210](https://www.sparkfun.com/products/15210) - SparkFun GPS Breakout - Chip Antenna, SAM-M8Q (Qwiic)
8989
* [GPS-15193](https://www.sparkfun.com/products/15193) - SparkFun GPS Breakout - Chip Antenna, ZOE-M8Q (Qwiic)
90+
* [GPS-17285](https://www.sparkfun.com/products/17285) - SparkFun GPS Breakout - NEO-M9N, SMA (Qwiic)
9091
* [GPS-15733](https://www.sparkfun.com/products/15733) - SparkFun GPS Breakout - NEO-M9N, Chip Antenna (Qwiic)
9192
* [GPS-15712](https://www.sparkfun.com/products/15712) - SparkFun GPS Breakout - NEO-M9N, U.FL (Qwiic)
9293
* [GPS-16329](https://www.sparkfun.com/products/16329) - SparkFun GPS Dead Reckoning Breakout - NEO-M8U (Qwiic)

src/SparkFun_u-blox_GNSS_Arduino_Library.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -9751,7 +9751,7 @@ boolean SFE_UBLOX_GNSS::getSensorFusionMeasurement(UBX_ESF_MEAS_sensorData_t *se
97519751
if (packetUBXESFMEAS == NULL) //Bail if the RAM allocation failed
97529752
return (false);
97539753

9754-
if (packetUBXESFMEAS->moduleQueried.moduleQueried.bits.data & (1 << sensor) == 0)
9754+
if (packetUBXESFMEAS->moduleQueried.moduleQueried.bits.data & ((1 << sensor) == 0))
97559755
getESFMEAS(maxWait);
97569756
packetUBXESFMEAS->moduleQueried.moduleQueried.bits.data &= ~(1 << sensor); //Since we are about to give this to user, mark this data as stale
97579757
packetUBXESFMEAS->moduleQueried.moduleQueried.bits.all = false;
@@ -9771,7 +9771,7 @@ boolean SFE_UBLOX_GNSS::getRawSensorMeasurement(UBX_ESF_RAW_sensorData_t *sensor
97719771
if (packetUBXESFRAW == NULL) //Bail if the RAM allocation failed
97729772
return (false);
97739773

9774-
if (packetUBXESFRAW->moduleQueried.moduleQueried.bits.data & (1 << sensor) == 0)
9774+
if (packetUBXESFRAW->moduleQueried.moduleQueried.bits.data & ((1 << sensor) == 0))
97759775
getESFRAW(maxWait);
97769776
packetUBXESFRAW->moduleQueried.moduleQueried.bits.data &= ~(1 << sensor); //Since we are about to give this to user, mark this data as stale
97779777
packetUBXESFRAW->moduleQueried.moduleQueried.bits.all = false;
@@ -9793,7 +9793,7 @@ boolean SFE_UBLOX_GNSS::getSensorFusionStatus(UBX_ESF_STATUS_sensorStatus_t *sen
97939793
if (packetUBXESFSTATUS == NULL) //Bail if the RAM allocation failed
97949794
return (false);
97959795

9796-
if (packetUBXESFSTATUS->moduleQueried.moduleQueried.bits.status & (1 << sensor) == 0)
9796+
if (packetUBXESFSTATUS->moduleQueried.moduleQueried.bits.status & ((1 << sensor) == 0))
97979797
getESFSTATUS(maxWait);
97989798
packetUBXESFSTATUS->moduleQueried.moduleQueried.bits.status &= ~(1 << sensor); //Since we are about to give this to user, mark this data as stale
97999799
packetUBXESFSTATUS->moduleQueried.moduleQueried.bits.all = false;

0 commit comments

Comments
 (0)