sm6225-common: gps: Fix usage of or operator on booleans
Change-Id: I1e3f9caef674d8a2cfc99092033d96bc4cdd8963
This commit is contained in:
parent
d5ecca2f41
commit
10f4d72f92
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue