diff options
-rw-r--r-- | host/lib/rfnoc/ddc_block_ctrl_impl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/rfnoc/ddc_block_ctrl_impl.cpp b/host/lib/rfnoc/ddc_block_ctrl_impl.cpp index d89719c65..dbba7f68c 100644 --- a/host/lib/rfnoc/ddc_block_ctrl_impl.cpp +++ b/host/lib/rfnoc/ddc_block_ctrl_impl.cpp @@ -247,7 +247,6 @@ private: // Rate change = M/N sr_write("N", m * std::pow(2.0, double(hb_enable)) * (decim & 0xff), chan); - sr_write("M", m, chan); const auto noc_id = _tree->access<uint64_t>(_root_path / "noc_id").get(); // FIXME this should be a rb reg in the FPGA, not based on a hard-coded // Noc-ID @@ -255,7 +254,7 @@ private: UHD_LOG_DEBUG("DDC", "EISCAT DDC! Assuming real inputs."); sr_write("M", 2, chan); } else { - sr_write("M", 1, chan); + sr_write("M", m, chan); } if (decim > 1 and hb_enable == 0) { |