aboutsummaryrefslogtreecommitdiff
path: root/gps/gnss/location_gnss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gps/gnss/location_gnss.cpp')
-rw-r--r--gps/gnss/location_gnss.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gps/gnss/location_gnss.cpp b/gps/gnss/location_gnss.cpp
index a99d8ef..b5623e1 100644
--- a/gps/gnss/location_gnss.cpp
+++ b/gps/gnss/location_gnss.cpp
@@ -228,7 +228,7 @@ static void agpsDataConnOpen(
if (NULL != gGnssAdapter) {
gGnssAdapter->dataConnOpenCommand(
- agpsType, apnName, apnLen, ipType);
+ agpsType, apnName, apnLen, (AGpsBearerType)ipType);
}
}
static void agpsDataConnClosed(AGpsExtType agpsType) {
@@ -253,6 +253,6 @@ static void getDebugReport(GnssDebugReport& report) {
static void updateConnectionStatus(bool connected, uint8_t type) {
if (NULL != gGnssAdapter) {
- gGnssAdapter->updateConnectionStatusCommand(connected, type);
+ gGnssAdapter->getSystemStatus()->eventConnectionStatus(connected, type);
}
-} \ No newline at end of file
+}