Merge "GNSS adapter: Do not send SPE NMEA to engine hub" into location.lnx.3.0.c5
This commit is contained in:
commit
7574a7d4fd
2 changed files with 2 additions and 7 deletions
|
@ -81,11 +81,6 @@ public:
|
|||
(void) svPolynomial;
|
||||
return false;
|
||||
}
|
||||
|
||||
inline virtual bool gnssReportNmea(const char* nmea) {
|
||||
(void) nmea;
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
typedef std::function<void(const UlpLocation& ulpLocation,
|
||||
|
|
|
@ -2209,7 +2209,8 @@ GnssAdapter::reportPositionEvent(const UlpLocation& ulpLocation,
|
|||
bool fromUlp,
|
||||
bool fromEngineHub)
|
||||
{
|
||||
LOC_LOGD("%s]: fromUlp %u status %u", __func__, fromUlp, status);
|
||||
LOC_LOGD("%s]: fromUlp %u, from engine hub %u, status %u, tech mask 0x%x",
|
||||
__func__, fromUlp, fromEngineHub, status, techMask);
|
||||
|
||||
// if this event is called from QMI LOC API, then try to call into ULP and return if successfull
|
||||
// if the position is called from ULP or engine hub, then send it out directly
|
||||
|
@ -2456,7 +2457,6 @@ GnssAdapter::reportNmeaEvent(const char* nmea, size_t length, bool fromUlp)
|
|||
{
|
||||
// if this event is not called from ULP, then try to call into ULP and return if successfull
|
||||
if (!fromUlp && !loc_nmea_is_debug(nmea, length)) {
|
||||
mEngHubProxy->gnssReportNmea(nmea);
|
||||
if (mUlpProxy->reportNmea(nmea, length)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue