diff options
| author | Matthew Crymble <matthew.crymble@ni.com> | 2021-06-22 18:37:14 -0500 | 
|---|---|---|
| committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-06-24 11:43:17 -0500 | 
| commit | 78ec29b6becd53f79a0ae282ae22c38bedb887d1 (patch) | |
| tree | ae1c5e3cea02bed1f89c78582568f349e5df0df1 /host/lib/usrp/b200 | |
| parent | 0326bdcc964917501bb0111d3ce65467edb437f3 (diff) | |
| download | uhd-78ec29b6becd53f79a0ae282ae22c38bedb887d1.tar.gz uhd-78ec29b6becd53f79a0ae282ae22c38bedb887d1.tar.bz2 uhd-78ec29b6becd53f79a0ae282ae22c38bedb887d1.zip | |
b200: flush receive buffer after getting an overflow
Diffstat (limited to 'host/lib/usrp/b200')
| -rw-r--r-- | host/lib/usrp/b200/b200_io_impl.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/host/lib/usrp/b200/b200_io_impl.cpp b/host/lib/usrp/b200/b200_io_impl.cpp index 1231b52cc..a20709497 100644 --- a/host/lib/usrp/b200/b200_io_impl.cpp +++ b/host/lib/usrp/b200/b200_io_impl.cpp @@ -513,7 +513,9 @@ void b200_impl::handle_overflow(const size_t radio_index)              // my_streamer->issue_stream_cmd(stream_cmd);          }      } else { -        // FIXME: temporarily remove the overflow handling that re-issues a start +        while (_data_transport->get_recv_buff(0.001)) { +        } +        // FIXME: temporarily remove the overflow handling that re-issues a stream          //        command. This will avoid an issue that gets the b210 in a bad state.          // _radio_perifs[radio_index].framer->handle_overflow();      } | 
