diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-05-20 16:30:49 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-05-20 16:30:49 +0200 |
commit | 5fb85d987c7ac04547ce7648e0a90ade61e35ed0 (patch) | |
tree | 60489cc27606261063c9b85912fa28e402346b7d | |
parent | 4bf59cbe53a889a9b45dfb313e4afaab75b578d5 (diff) | |
download | uhd-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.cpp | 3 |
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); |