summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2019-01-29 10:41:39 -0800
committerAshish Chaudhari <ashish.chaudhari@ettus.com>2019-01-31 13:48:02 -0800
commit73104a90f081c912cc6d700d6db1896e4e23dadf (patch)
treec64fa713b6dafd4fe8c62c2cec233d31ef59a501
parentX300: Fix tick and sample rate setting (diff)
downloaduhd-73104a90f081c912cc6d700d6db1896e4e23dadf.tar.xz
uhd-73104a90f081c912cc6d700d6db1896e4e23dadf.zip
RFNoC: Fix typos in legacy_compat
Signed-off-by: michael-west <michael.west@ettus.com>
-rw-r--r--host/lib/rfnoc/legacy_compat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/rfnoc/legacy_compat.cpp b/host/lib/rfnoc/legacy_compat.cpp
index b0fa42d3b..b4f2c522e 100644
--- a/host/lib/rfnoc/legacy_compat.cpp
+++ b/host/lib/rfnoc/legacy_compat.cpp
@@ -846,7 +846,7 @@ private: // methods
mb_root(mboard_idx) / "tx_dsps" / radio_idx / chan);
_tree->create<double>(tx_dsp_base_path / "rate/value")
.set(0.0)
- .set_publisher(boost::bind(&radio_ctrl::get_output_samp_rate,
+ .set_publisher(boost::bind(&radio_ctrl::get_input_samp_rate,
get_block_ctrl<radio_ctrl>(
mboard_idx, RADIO_BLOCK_NAME, radio_idx),
chan));
@@ -1002,7 +1002,7 @@ private: // methods
duc_src_flat[index].second,
radio_block,
each_snk_radio_block.second,
- rx_bpp);
+ tx_bpp);
down_stream_block = duc_snk_block;
down_stream_port = duc_snk_flat[index].second;
}