diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-12-13 11:33:33 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-12-13 11:33:33 -0800 |
commit | b0f01fd4dd9b2072b6e84137225ab52d2e13d8ca (patch) | |
tree | a93f9ae8aca500718e6c6ae8ba0e11f2cfa23fd5 /host/lib/rfnoc | |
parent | d29960ec1466dbe009dad649672c33ee44467e27 (diff) | |
parent | 582553984cfd70ae11f5c12da568e4a0a74888d2 (diff) | |
download | uhd-b0f01fd4dd9b2072b6e84137225ab52d2e13d8ca.tar.gz uhd-b0f01fd4dd9b2072b6e84137225ab52d2e13d8ca.tar.bz2 uhd-b0f01fd4dd9b2072b6e84137225ab52d2e13d8ca.zip |
Merge branch 'maint'
Diffstat (limited to 'host/lib/rfnoc')
-rw-r--r-- | host/lib/rfnoc/legacy_compat.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/host/lib/rfnoc/legacy_compat.cpp b/host/lib/rfnoc/legacy_compat.cpp index 2c8ffdde2..a8b6d4f68 100644 --- a/host/lib/rfnoc/legacy_compat.cpp +++ b/host/lib/rfnoc/legacy_compat.cpp @@ -340,7 +340,6 @@ public: } } BOOST_FOREACH(const size_t this_chan, chans_to_change) { - UHD_MSG(status) << "setting rate on chan " << this_chan << " " << rate << std::endl; size_t mboard, mb_chan; chan_to_mcp<uhd::RX_DIRECTION>(this_chan, _rx_channel_map, mboard, mb_chan); const size_t dsp_index = _rx_channel_map[mboard][mb_chan].radio_index; @@ -437,8 +436,7 @@ private: // methods mboard_idx = 0; mb_chan_idx = chan; while (mb_chan_idx >= chan_map[mboard_idx].size()) { - mboard_idx++; - mb_chan_idx -= chan_map[mboard_idx].size(); + mb_chan_idx -= chan_map[mboard_idx++].size(); } if (mboard_idx >= chan_map.size()) { throw uhd::index_error(str( |