mirror of
https://github.com/BobTheBlinker/android_device_motorola_sm6375-common.git
synced 2026-10-30 19:51:33 -04:00
sm7325-common: gps: Address logical-op-parentheses warning
Change-Id: I45d621a2b995afeb7757df3f89614a0d95552f33
This commit is contained in:
parent
ad8cf65cc8
commit
fc379d8e02
1 changed files with 1 additions and 1 deletions
|
|
@ -3842,7 +3842,7 @@ bool GnssAdapter::needToGenerateNmeaReport(const uint32_t &gpsTimeOfWeekMs,
|
|||
* Send when gpsTimeOfWeekMs is closely aligned with integer boundary
|
||||
*/
|
||||
if ((0 == mPrevNmeaRptTimeNsec) ||
|
||||
(0 != gpsTimeOfWeekMs) && (NMEA_MIN_THRESHOLD_MSEC >= (gpsTimeOfWeekMs % 1000))) {
|
||||
((0 != gpsTimeOfWeekMs) && (NMEA_MIN_THRESHOLD_MSEC >= (gpsTimeOfWeekMs % 1000)))) {
|
||||
retVal = true;
|
||||
} else {
|
||||
uint64_t timeDiffMsec = ((currentTimeNsec - mPrevNmeaRptTimeNsec) / 1000000);
|
||||
|
|
|
|||
Loading…
Reference in a new issue