From c4c3b8d6b7ceabb66386c7db8d170e9a5504746b Mon Sep 17 00:00:00 2001 From: sugandhagupta Date: Tue, 6 Jun 2017 16:03:49 -0700 Subject: mpmd: property tree fixes for multi_usrp, set_freq fixes --- host/lib/usrp/dboard/eiscat/eiscat_radio_ctrl_impl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/lib/usrp/dboard/eiscat') 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(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(fe_path / fe_idx / "freq" / "range") .set(meta_range_t(EISCAT_CENTER_FREQ, EISCAT_CENTER_FREQ)) -- cgit v1.2.3