From 5fb85d987c7ac04547ce7648e0a90ade61e35ed0 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 20 May 2016 16:30:49 +0200 Subject: Make sensor gps_locked work for LEA-M8F too --- host/lib/usrp/gps_ctrl.cpp | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3