sm7325-common: gps: fix logical or in GnssAPIClient

Change-Id: I24b76c34e72ffde298c3117361e4aff7d715deb2
This commit is contained in:
SGCMarkus 2022-08-18 23:50:50 +02:00 committed by Nolen Johnson
parent a0fc1b687c
commit ca570d271c

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;