aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-05-25 18:09:08 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:58 -0800
commit010e24524bad79bb138f48af3fd5c29c81e2f07a (patch)
tree4e2c1a24f0dba06c78a9813b32657536517f1a93 /host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp
parent5edeeef564ac47cd891a21173e44a74847931d8a (diff)
downloaduhd-010e24524bad79bb138f48af3fd5c29c81e2f07a.tar.gz
uhd-010e24524bad79bb138f48af3fd5c29c81e2f07a.tar.bz2
uhd-010e24524bad79bb138f48af3fd5c29c81e2f07a.zip
eiscat: Fixed missing antenna selection reg write for direct rx
Diffstat (limited to 'host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp')
-rw-r--r--host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp
index df7fdba8e..2ea918491 100644
--- a/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp
+++ b/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp
@@ -274,6 +274,7 @@ void eiscat_radio_ctrl_impl::set_rx_antenna(const std::string &ant, const size_t
boost::format("Setting port %d to only receive on antenna %d directly")
% port % antenna_idx
));
+ sr_write(SR_ANTENNA_SELECT_BASE + port, antenna_idx);
enable_firs(false);
} else if (ant_mode == "FI") {
UHD_LOG_TRACE("EISCAT", str(