From 4bbde64c709ebe6298e6b650a0fb8e1ef2f92ae4 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 29 Jun 2018 14:28:49 -0700 Subject: fixup! e300: merge files from rfnoc-devel --- host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp | 3 +++ host/lib/usrp/e300/e300_remote_codec_ctrl.cpp | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'host') diff --git a/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp b/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp index 451dae2f7..1d9585d35 100644 --- a/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp +++ b/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp @@ -105,6 +105,9 @@ public: //! set which RX and TX chains/antennas are active virtual void set_active_chains(bool tx1, bool tx2, bool rx1, bool rx2) = 0; + //! set which timing mode is used + virtual void set_timing_mode(const std::string &timing_mode) = 0; + //! tune the given frontend, return the exact value virtual double tune(const std::string &which, const double value) = 0; diff --git a/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp b/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp index 575abe24e..5692a138e 100644 --- a/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp +++ b/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp @@ -238,6 +238,11 @@ public: UHD_THROW_INVALID_CODE_PATH(); } + void set_timing_mode(UHD_UNUSED(const std::string &timing_mode)) + { + UHD_THROW_INVALID_CODE_PATH(); + } + private: void _transact() { { -- cgit v1.2.3