sm6150-common: gps: Fix usage of or operator on booleans
Change-Id: I1e3f9caef674d8a2cfc99092033d96bc4cdd8963
This commit is contained in:
parent
b4118d4fa2
commit
684970d72a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user