From 222a6b0caa191a36e30fea2ecdf741268737914e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 17 Apr 2015 22:29:48 +0200 Subject: Improve LEA-M8F detection and protocol parsing --- host/lib/usrp/b200/b200_impl.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'host/lib/usrp/b200') diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index aeef4025b..070c8fee8 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -475,11 +475,9 @@ b200_impl::b200_impl(const device_addr_t &device_addr) _tree->access(mb_path / "time_source" / "value").set("gpsdo"); _tree->access(mb_path / "clock_source" / "value").set("gpsdo"); - if (not _gps->gps_detected_lea_m8f()) { - UHD_MSG(status) << "Initializing time to the internal GPSDO" << std::endl; - const time_t tp = time_t(_gps->get_sensor("gps_time").to_int()+1); - _tree->access(mb_path / "time" / "pps").set(time_spec_t(tp)); - } + UHD_MSG(status) << "Initializing time to the internal GPSDO" << std::endl; + const time_t tp = time_t(_gps->get_sensor("gps_time").to_int()+1); + _tree->access(mb_path / "time" / "pps").set(time_spec_t(tp)); } } -- cgit v1.2.3