diff options
author | qctecmdr Service <qctecmdr@qualcomm.com> | 2019-03-21 08:02:45 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-03-21 08:02:45 -0700 |
commit | 3774ea547f70d05aabe4c25229bfde5a2cc29485 (patch) | |
tree | f6bd4e874f1749822980f0b31e03e66c3c73f891 /core | |
parent | 07f0e8f970667de0b28bac0bd1d188bc9b314394 (diff) | |
parent | 1839fb1140242da10a6a599e65a7b79836007517 (diff) | |
download | gps-3774ea547f70d05aabe4c25229bfde5a2cc29485.tar.gz |
Merge "clear magic number for GPS_LOCK"
Diffstat (limited to 'core')
-rw-r--r-- | core/ContextBase.cpp | 2 | ||||
-rw-r--r-- | core/ContextBase.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/ContextBase.cpp b/core/ContextBase.cpp index 3d55e1c..28109bb 100644 --- a/core/ContextBase.cpp +++ b/core/ContextBase.cpp @@ -108,7 +108,7 @@ void ContextBase::readConfig() mGps_conf.INTERMEDIATE_POS = 0; mGps_conf.ACCURACY_THRES = 0; mGps_conf.NMEA_PROVIDER = 0; - mGps_conf.GPS_LOCK = 0x03; + mGps_conf.GPS_LOCK = GNSS_CONFIG_GPS_LOCK_MO_AND_NI; mGps_conf.SUPL_VER = 0x10000; mGps_conf.SUPL_MODE = 0x1; mGps_conf.SUPL_ES = 0; diff --git a/core/ContextBase.h b/core/ContextBase.h index 8a3d300..9c72835 100644 --- a/core/ContextBase.h +++ b/core/ContextBase.h @@ -55,7 +55,7 @@ typedef struct loc_gps_cfg_s char XTRA_SERVER_3[LOC_MAX_PARAM_STRING]; uint32_t USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL; uint32_t NMEA_PROVIDER; - uint32_t GPS_LOCK; + GnssConfigGpsLock GPS_LOCK; uint32_t A_GLONASS_POS_PROTOCOL_SELECT; uint32_t AGPS_CERT_WRITABLE_MASK; uint32_t AGPS_CONFIG_INJECT; |