diff options
author | qctecmdr <qctecmdr@localhost> | 2019-11-07 11:35:11 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-11-07 11:35:11 -0800 |
commit | 46f3ce7221224414b45e18663919c511e00fc8fb (patch) | |
tree | 5dafefe8e6790e3067ca735fd5e4651b2b00a444 /core/LocApiBase.cpp | |
parent | 3fbcecf1b116781826532b8b9847c99bbc5d49a7 (diff) | |
parent | 98dbf27562ee0c8c25f63622f7169bccc740fa7a (diff) |
Merge "fix sv id mismatch issues"
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 1717b87..3f1a9b0 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -406,19 +406,17 @@ 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 0x%02X", + LOC_LOGV(" %03zu: %*s %02d %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].elevation, svNotify.gnssSvs[i].azimuth, svNotify.gnssSvs[i].carrierFrequencyHz, - svNotify.gnssSvs[i].gnssSvOptionsMask); + svNotify.gnssSvs[i].gnssSvOptionsMask, + svNotify.gnssSvs[i].gnssSignalTypeMask); } // loop through adapters, and deliver to all adapters. TO_ALL_LOCADAPTERS( |