summaryrefslogtreecommitdiff
path: root/core/LocApiBase.cpp
diff options
context:
space:
mode:
authorSaurabh Srivastava <ssrivast@codeaurora.org>2020-04-21 22:44:36 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-04-28 23:11:30 -0700
commit7783f0fb26093a474d072db99b6c234a2011aeac (patch)
treef6a18d9869384f87eb81af8c2831ac26ec4774a7 /core/LocApiBase.cpp
parent4679c493ce49248d6730f54dfd67f5bf022bb46c (diff)
Merging incomplete changes from location.lnx.4.0
location.lnx.4.0 comparision tip: 0907ae1 GPS HAL: configure body-to-sensor mount paramters Change: If6fe2bc601eec0bb47b4f748de583cf2c2cffe6b Robust location: include version as part of the retrieved config Change: Ie6f5fc430eb5f4f7575d95a60c53c5a2f8d4f68b CRs: 2642946 fix sv id mismatch issues Change: I7de3f8e3077dd24fb762f08e08f804c3ea9ecda4 CRs: 2554984 GPS HAL: support configure/read of min GPS week used by GPS engine Change: I53e7ddfb82e28c52baebd505ac163cc10758c415 CRs: 2621601 HAL : Location bringup for MDM9607.LE.2.1.3 Change: Id5e3030ff3b20106d74bd4e9bec5f3cd1277ba99 CRs: 2632300 Device doesn't go to sleep mode Change: I7d9093a49c969d12548217ff55bf53cb3ea167fa CRs: 2633337 LocAPIV02: add default gnss signal mask Change: Ib3765a38d124e5a012f181efc43cada955b04405 CRs: 2645187 GnssAdapter report DGnss Data usable to CDFW Change: Id92ad211b91eda98e6572a083092d7a777f3fa9b CRs: 2638924 Modification in loc-core and location-api for EAP compilation Change: Ied3a988d635c7750acdf2b6057c6d1cd6d188615 CRs: 2612482 Revert "GPS HAL support shipping out sv poly to location api client" Change: I62a3ecbe96d35da84225e4e67d5450ad752fdc6f CRs: 2638755 LocIpc improvments Change: I2dce90480941a657179a1a3a431936d741bfa76a CRs: 2627022 CRs-Fixed: 2673238 Change-Id: Ib4d0bde5423954029fe4b1c89610ed7beeabf2ee
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r--core/LocApiBase.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp
index a47784d..4664c40 100644
--- a/core/LocApiBase.cpp
+++ b/core/LocApiBase.cpp
@@ -416,14 +416,11 @@ void LocApiBase::reportSv(GnssSvNotification& svNotify)
svNotify.gnssSvs[i].type = GNSS_SV_TYPE_UNKNOWN;
}
// Display what we report to clients
- uint16_t displaySvId = GNSS_SV_TYPE_QZSS == svNotify.gnssSvs[i].type ?
- svNotify.gnssSvs[i].svId + QZSS_SV_PRN_MIN - 1 :
- svNotify.gnssSvs[i].svId;
LOC_LOGV(" %03zu: %*s %02d %f %f %f %f %f 0x%02X 0x%2X",
i,
13,
constellationString[svNotify.gnssSvs[i].type],
- displaySvId,
+ svNotify.gnssSvs[i].svId,
svNotify.gnssSvs[i].cN0Dbhz,
svNotify.gnssSvs[i].basebandCarrierToNoiseDbHz,
svNotify.gnssSvs[i].elevation,