From 7d28d9140e2c57db36b37d60d9ce4bff86357bac Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Tue, 17 Apr 2018 19:33:53 -0700 Subject: uhd: initial commit of UHD support for E320 Co-authored-by: Sugandha Gupta --- host/lib/usrp/common/CMakeLists.txt | 4 ++-- host/lib/usrp/common/ad9361_ctrl.cpp | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'host/lib/usrp/common') diff --git a/host/lib/usrp/common/CMakeLists.txt b/host/lib/usrp/common/CMakeLists.txt index 082a047e7..feb4390e3 100644 --- a/host/lib/usrp/common/CMakeLists.txt +++ b/host/lib/usrp/common/CMakeLists.txt @@ -14,14 +14,14 @@ IF(ENABLE_USB) ) ENDIF(ENABLE_USB) -IF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230) +IF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230 OR ENABLE_E320) INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver") LIBUHD_APPEND_SOURCES( ${CMAKE_CURRENT_SOURCE_DIR}/ad9361_ctrl.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ad936x_manager.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver/ad9361_device.cpp ) -ENDIF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230) +ENDIF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230 OR ENABLE_E320) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/host/lib/usrp/common/ad9361_ctrl.cpp b/host/lib/usrp/common/ad9361_ctrl.cpp index 3cf89ad7a..003711d52 100644 --- a/host/lib/usrp/common/ad9361_ctrl.cpp +++ b/host/lib/usrp/common/ad9361_ctrl.cpp @@ -212,14 +212,6 @@ public: _device.set_dc_offset_auto(direction,on); } - std::string get_lo_source(const std::string &which) - { - const auto dir = _get_direction_from_antenna(which); - //TODO: Implement this - boost::lock_guard lock(_mutex); - return "internal"; - } - void set_iq_balance_auto(const std::string &which, const bool on) { boost::lock_guard lock(_mutex); -- cgit v1.2.3