diff options
author | Josh Blum <josh@joshknows.com> | 2011-06-12 19:54:42 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-14 17:27:47 -0700 |
commit | 89fa3291548b2b2c413c9613977db032b5dc048b (patch) | |
tree | c15500a1dc4e45d730ec4ed3750eced39bf1a5d6 /host/lib/usrp/usrp1/dsp_impl.cpp | |
parent | 397521fcdbe88d4d797bf9a5bcd2cdb097003ab3 (diff) | |
download | uhd-89fa3291548b2b2c413c9613977db032b5dc048b.tar.gz uhd-89fa3291548b2b2c413c9613977db032b5dc048b.tar.bz2 uhd-89fa3291548b2b2c413c9613977db032b5dc048b.zip |
usrp1: super packet handler support squashed
Diffstat (limited to 'host/lib/usrp/usrp1/dsp_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp1/dsp_impl.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/dsp_impl.cpp b/host/lib/usrp/usrp1/dsp_impl.cpp index 66b11b989..0bddc49f0 100644 --- a/host/lib/usrp/usrp1/dsp_impl.cpp +++ b/host/lib/usrp/usrp1/dsp_impl.cpp @@ -114,6 +114,7 @@ void usrp1_impl::rx_dsp_set(const wax::obj &key_, const wax::obj &val, size_t wh _iface->poke32(FR_DECIM_RATE, _rx_dsp_decim/2 - 1); this->restore_rx(s); } + this->update_xport_channel_mapping(); //rate changed -> update return; case DSP_PROP_STREAM_CMD: @@ -211,8 +212,10 @@ void usrp1_impl::tx_dsp_set(const wax::obj &key_, const wax::obj &val, size_t wh bool s = this->disable_tx(); _iface->poke32(FR_INTERP_RATE, _tx_dsp_interp/2 - 1); this->restore_tx(s); - return; } + this->update_xport_channel_mapping(); //rate changed -> update + return; + default: UHD_THROW_PROP_SET_ERROR(); } |