sm6225-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 committed by Michael Bestas
parent d5ecca2f41
commit 10f4d72f92
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -648,7 +648,7 @@ void GnssAPIClient::onGnssNmeaCb(GnssNmeaNotification gnssNmeaNotification)
auto gnssCbIface_2_1(mGnssCbIface_2_1);
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);
std::stringstream ss(s);
std::string each;