diff options
author | Josh Blum <josh@joshknows.com> | 2011-02-21 15:56:48 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-02-21 15:56:48 -0800 |
commit | 3261b89eeb96a6b87bc35c86be3faf78aee569b0 (patch) | |
tree | dbabe821c0dd67e04e78de1dff1a0cee7a059e11 /host/lib/usrp/usrp2/mboard_impl.cpp | |
parent | 436387677320e371bb9a2efa6b0c2ec97027bc05 (diff) | |
download | uhd-3261b89eeb96a6b87bc35c86be3faf78aee569b0.tar.gz uhd-3261b89eeb96a6b87bc35c86be3faf78aee569b0.tar.bz2 uhd-3261b89eeb96a6b87bc35c86be3faf78aee569b0.zip |
usrp2: 2nd dsp working, tweaks regs map and other bugs
Diffstat (limited to 'host/lib/usrp/usrp2/mboard_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/mboard_impl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp index c7a91c69b..b8849f65b 100644 --- a/host/lib/usrp/usrp2/mboard_impl.cpp +++ b/host/lib/usrp/usrp2/mboard_impl.cpp @@ -153,6 +153,7 @@ usrp2_mboard_impl::usrp2_mboard_impl( (*this)[MBOARD_PROP_RX_SUBDEV_SPEC] = subdev_spec_t(); (*this)[MBOARD_PROP_TX_SUBDEV_SPEC] = subdev_spec_t(); + //------------------------------------------------------------------ //This is a hack/fix for the lingering packet problem. stream_cmd_t stream_cmd(stream_cmd_t::STREAM_MODE_NUM_SAMPS_AND_DONE); for (size_t i = 0; i < NUM_RX_DSPS; i++){ @@ -163,6 +164,7 @@ usrp2_mboard_impl::usrp2_mboard_impl( device.dsp_xports.at(index)->get_recv_buff(0.01).get(); //recv with timeout for expected _iface->poke32(_iface->regs.rx_ctrl[i].clear_overrun, 1); //resets sequence } + //------------------------------------------------------------------ } usrp2_mboard_impl::~usrp2_mboard_impl(void){ |