aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp3
-rw-r--r--host/lib/usrp/e300/e300_remote_codec_ctrl.cpp5
2 files changed, 8 insertions, 0 deletions
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() {
{