sm6150-common: gps: Fix usage of or operator on booleans

Change-Id: I1e3f9caef674d8a2cfc99092033d96bc4cdd8963
This commit is contained in:
Arian 2022-08-18 13:51:42 +02:00
parent b4118d4fa2
commit 684970d72a

View File

@ -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;