diff options
author | Josh Blum <josh@joshknows.com> | 2012-02-04 16:38:15 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-02-04 16:38:15 -0800 |
commit | c6e63c9d2af2c0b2e168aa6fdd63fe7b214927de (patch) | |
tree | 7d2bf4c7480f68c55eb215fcad16ef400d29dfcc /host/lib/usrp/b100/io_impl.cpp | |
parent | 1e3cb86432ee1d695a12fd99590206e43caab2cc (diff) | |
download | uhd-c6e63c9d2af2c0b2e168aa6fdd63fe7b214927de.tar.gz uhd-c6e63c9d2af2c0b2e168aa6fdd63fe7b214927de.tar.bz2 uhd-c6e63c9d2af2c0b2e168aa6fdd63fe7b214927de.zip |
b100/e100: unify rx/tx fifo clears into one
Diffstat (limited to 'host/lib/usrp/b100/io_impl.cpp')
-rw-r--r-- | host/lib/usrp/b100/io_impl.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/host/lib/usrp/b100/io_impl.cpp b/host/lib/usrp/b100/io_impl.cpp index db5af0dc5..ac7c860d2 100644 --- a/host/lib/usrp/b100/io_impl.cpp +++ b/host/lib/usrp/b100/io_impl.cpp @@ -54,9 +54,8 @@ struct b100_impl::io_impl{ **********************************************************************/ void b100_impl::io_init(void){ - //clear state machines - _fpga_ctrl->poke32(B100_REG_CLEAR_RX, 0); - _fpga_ctrl->poke32(B100_REG_CLEAR_TX, 0); + //clear fifo state machines + _fpga_ctrl->poke32(B100_REG_CLEAR_FIFO, 0); //allocate streamer weak ptrs containers _rx_streamers.resize(_rx_dsps.size()); |