aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp
diff options
context:
space:
mode:
authorsugandhagupta <sugandha.gupta@ettus.com>2017-06-06 16:03:49 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:59 -0800
commitc4c3b8d6b7ceabb66386c7db8d170e9a5504746b (patch)
treef2da633347f8cf832d8fcbaea4f2412e3f50fab5 /host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp
parent5f9d617073e12f191df90a0510702e2a1ee52bc9 (diff)
downloaduhd-c4c3b8d6b7ceabb66386c7db8d170e9a5504746b.tar.gz
uhd-c4c3b8d6b7ceabb66386c7db8d170e9a5504746b.tar.bz2
uhd-c4c3b8d6b7ceabb66386c7db8d170e9a5504746b.zip
mpmd: property tree fixes for multi_usrp, set_freq fixes
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.cpp6
1 files changed, 3 insertions, 3 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 455027f3c..5e7ab9199 100644
--- a/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp
+++ b/host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp
@@ -37,7 +37,7 @@ namespace {
const double EISCAT_TICK_RATE = 208e6; // Hz
const double EISCAT_RADIO_RATE = 104e6; // Hz
- const double EISCAT_CENTER_FREQ = 104e6; // Hz
+ const double EISCAT_CENTER_FREQ = 208e6; // Hz
const double EISCAT_DEFAULT_NULL_GAIN = 0.0; // dB. This is not the digital antenna gain, this a fake stub value.
const double EISCAT_DEFAULT_BANDWIDTH = 52e6; // Hz
const char* EISCAT_DEFAULT_ANTENNA = "BF";
@@ -205,8 +205,8 @@ UHD_RFNOC_RADIO_BLOCK_CONSTRUCTOR(eiscat_radio_ctrl)
;
_tree->create<double>(fe_path / fe_idx / "freq" / "value")
.set(EISCAT_CENTER_FREQ)
- //.set_coercer(boost::bind(&eiscat_radio_ctrl_impl::set_rx_frequency, this, _1, 0))
- ////.set_publisher(boost::bind(&radio_ctrl_impl::get_rx_frequency, this, 0))
+ .set_coercer(boost::bind(&eiscat_radio_ctrl_impl::set_rx_frequency, this, _1, 0))
+ .set_publisher(boost::bind(&radio_ctrl_impl::get_rx_frequency, this, 0))
;
_tree->create<meta_range_t>(fe_path / fe_idx / "freq" / "range")
.set(meta_range_t(EISCAT_CENTER_FREQ, EISCAT_CENTER_FREQ))