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-25 21:37:51 +0200 |
commit | eb596e826755a6f3d10c824019609c02c459a969 (patch) | |
tree | d2c23bacb9866385bf1feeb13038480df9bd0fa0 /host/lib | |
parent | b77653af89ef81e46cfb3a20e2e644893ea0adf3 (diff) | |
download | uhd-eb596e826755a6f3d10c824019609c02c459a969.tar.gz uhd-eb596e826755a6f3d10c824019609c02c459a969.tar.bz2 uhd-eb596e826755a6f3d10c824019609c02c459a969.zip |
Make sensor gps_locked work for LEA-M8F too
Diffstat (limited to 'host/lib')
-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); |