File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9597,7 +9597,7 @@ boolean SFE_UBLOX_GNSS::getSensorFusionMeasurement(UBX_ESF_MEAS_sensorData_t *se
9597
9597
if (packetUBXESFMEAS == NULL ) // Bail if the RAM allocation failed
9598
9598
return (false );
9599
9599
9600
- if (packetUBXESFMEAS->moduleQueried .moduleQueried .bits .data & (1 << sensor) == 0 )
9600
+ if (packetUBXESFMEAS->moduleQueried .moduleQueried .bits .data & (( 1 << sensor) == 0 ) )
9601
9601
getESFMEAS (maxWait);
9602
9602
packetUBXESFMEAS->moduleQueried .moduleQueried .bits .data &= ~(1 << sensor); // Since we are about to give this to user, mark this data as stale
9603
9603
packetUBXESFMEAS->moduleQueried .moduleQueried .bits .all = false ;
@@ -9617,7 +9617,7 @@ boolean SFE_UBLOX_GNSS::getRawSensorMeasurement(UBX_ESF_RAW_sensorData_t *sensor
9617
9617
if (packetUBXESFRAW == NULL ) // Bail if the RAM allocation failed
9618
9618
return (false );
9619
9619
9620
- if (packetUBXESFRAW->moduleQueried .moduleQueried .bits .data & (1 << sensor) == 0 )
9620
+ if (packetUBXESFRAW->moduleQueried .moduleQueried .bits .data & (( 1 << sensor) == 0 ) )
9621
9621
getESFRAW (maxWait);
9622
9622
packetUBXESFRAW->moduleQueried .moduleQueried .bits .data &= ~(1 << sensor); // Since we are about to give this to user, mark this data as stale
9623
9623
packetUBXESFRAW->moduleQueried .moduleQueried .bits .all = false ;
@@ -9639,7 +9639,7 @@ boolean SFE_UBLOX_GNSS::getSensorFusionStatus(UBX_ESF_STATUS_sensorStatus_t *sen
9639
9639
if (packetUBXESFSTATUS == NULL ) // Bail if the RAM allocation failed
9640
9640
return (false );
9641
9641
9642
- if (packetUBXESFSTATUS->moduleQueried .moduleQueried .bits .status & (1 << sensor) == 0 )
9642
+ if (packetUBXESFSTATUS->moduleQueried .moduleQueried .bits .status & (( 1 << sensor) == 0 ) )
9643
9643
getESFSTATUS (maxWait);
9644
9644
packetUBXESFSTATUS->moduleQueried .moduleQueried .bits .status &= ~(1 << sensor); // Since we are about to give this to user, mark this data as stale
9645
9645
packetUBXESFSTATUS->moduleQueried .moduleQueried .bits .all = false ;
You can’t perform that action at this time.
0 commit comments