aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-20 16:30:49 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-20 16:30:49 +0200
commit5fb85d987c7ac04547ce7648e0a90ade61e35ed0 (patch)
tree60489cc27606261063c9b85912fa28e402346b7d
parent4bf59cbe53a889a9b45dfb313e4afaab75b578d5 (diff)
downloaduhd-5fb85d987c7ac04547ce7648e0a90ade61e35ed0.tar.gz
uhd-5fb85d987c7ac04547ce7648e0a90ade61e35ed0.tar.bz2
uhd-5fb85d987c7ac04547ce7648e0a90ade61e35ed0.zip
Make sensor gps_locked work for LEA-M8F too
-rw-r--r--host/lib/usrp/gps_ctrl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/usrp/gps_ctrl.cpp b/host/lib/usrp/gps_ctrl.cpp
index 8a7b79ba6..84b919620 100644
--- a/host/lib/usrp/gps_ctrl.cpp
+++ b/host/lib/usrp/gps_ctrl.cpp
@@ -606,8 +606,7 @@ private:
std::string reply;
if (gps_type == GPS_TYPE_LEA_M8F) {
reply = get_cached_sensor("TIMELOCK", GPS_LOCK_FRESHNESS, false, false);
- UHD_MSG(warning) << "TIMELOCK is " << reply << std::endl;
- return reply == "locked";
+ return reply == "TIME LOCKED";
}
else {
reply = get_cached_sensor("GPGGA", GPS_LOCK_FRESHNESS, false, false);