mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
sm6150-common: gps: Fix usage of or operator on booleans
Change-Id: I1e3f9caef674d8a2cfc99092033d96bc4cdd8963
This commit is contained in:
@@ -648,7 +648,7 @@ void GnssAPIClient::onGnssNmeaCb(GnssNmeaNotification gnssNmeaNotification)
|
|||||||
auto gnssCbIface_2_1(mGnssCbIface_2_1);
|
auto gnssCbIface_2_1(mGnssCbIface_2_1);
|
||||||
mMutex.unlock();
|
mMutex.unlock();
|
||||||
|
|
||||||
if (gnssCbIface != nullptr || gnssCbIface_2_0 != nullptr| gnssCbIface_2_1 != nullptr) {
|
if (gnssCbIface != nullptr || gnssCbIface_2_0 != nullptr || gnssCbIface_2_1 != nullptr) {
|
||||||
const std::string s(gnssNmeaNotification.nmea);
|
const std::string s(gnssNmeaNotification.nmea);
|
||||||
std::stringstream ss(s);
|
std::stringstream ss(s);
|
||||||
std::string each;
|
std::string each;
|
||||||
|
|||||||
Reference in New Issue
Block a user