summaryrefslogtreecommitdiff
path: root/core/LocApiBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r--core/LocApiBase.cpp10
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(