diff options
author | michael-west <michael.west@ettus.com> | 2020-06-09 08:23:27 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-10 12:45:50 -0500 |
commit | 595709a2b06dda8314115ebe4e28607c1f869a7c (patch) | |
tree | 5001526ec2b3ae2b9a16e251f65faf13c2d01de7 /host | |
parent | 39afddf42c3e66f3cac227995a6a00227589c132 (diff) | |
download | uhd-595709a2b06dda8314115ebe4e28607c1f869a7c.tar.gz uhd-595709a2b06dda8314115ebe4e28607c1f869a7c.tar.bz2 uhd-595709a2b06dda8314115ebe4e28607c1f869a7c.zip |
X300: Fix get_time_source()
Store time source in set_time_source() call.
Signed-off-by: michael-west <michael.west@ettus.com>
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/x300/x300_mb_controller.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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)) { |