diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/usrp/dboard_iface.hpp | 4 | ||||
-rw-r--r-- | host/lib/usrp/x300/x300_dboard_iface.hpp | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/dboard_iface.hpp b/host/include/uhd/usrp/dboard_iface.hpp index a6a8966b3..60b1954fc 100644 --- a/host/include/uhd/usrp/dboard_iface.hpp +++ b/host/include/uhd/usrp/dboard_iface.hpp @@ -276,6 +276,10 @@ public: const uhd::usrp::fe_connection_t& fe_conn ) = 0; + /*! Returns the true if set_fe_connection() is implemented on this dboard_iface + */ + virtual bool has_set_fe_connection(const unit_t) { return false; } + /*! * Get the command time. * \return the command time diff --git a/host/lib/usrp/x300/x300_dboard_iface.hpp b/host/lib/usrp/x300/x300_dboard_iface.hpp index 807879bad..f41bb3d42 100644 --- a/host/lib/usrp/x300/x300_dboard_iface.hpp +++ b/host/lib/usrp/x300/x300_dboard_iface.hpp @@ -88,6 +88,12 @@ public: unit_t unit, const std::string& name, const uhd::usrp::fe_connection_t& fe_conn); + // X300 can set the FE connection on the RX side + bool has_set_fe_connection(const unit_t unit) override + { + return unit == UNIT_RX; + } + void add_rx_fe( const std::string& fe_name, rx_frontend_core_3000::sptr fe_core); |