From 595709a2b06dda8314115ebe4e28607c1f869a7c Mon Sep 17 00:00:00 2001 From: michael-west Date: Tue, 9 Jun 2020 08:23:27 -0700 Subject: X300: Fix get_time_source() Store time source in set_time_source() call. Signed-off-by: michael-west --- host/lib/usrp/x300/x300_mb_controller.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/host/lib/usrp/x300/x300_mb_controller.cpp b/host/lib/usrp/x300/x300_mb_controller.cpp index 28567e62e..268cd9bd2 100644 --- a/host/lib/usrp/x300/x300_mb_controller.cpp +++ b/host/lib/usrp/x300/x300_mb_controller.cpp @@ -181,6 +181,8 @@ void x300_mb_controller::set_time_source(const std::string& source) throw uhd::key_error("update_time_source: unknown source: " + source); } + _current_time_src = source; + /* TODO - Implement intelligent PPS detection //check for valid pps if (!is_pps_present(mb)) { -- cgit v1.2.3