diff options
author | mattprost <matt.prost@ni.com> | 2020-10-06 18:23:35 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-10-09 12:28:26 -0500 |
commit | 70e1f0f0c697d6522e3a87e2de93e34e375decb4 (patch) | |
tree | e6211c04a4d33498fdb77fb37bf994a9c83b2091 /host/lib/usrp | |
parent | e5fca8a03b64a3662a9059ac3e15c1799a5ed388 (diff) | |
download | uhd-70e1f0f0c697d6522e3a87e2de93e34e375decb4.tar.gz uhd-70e1f0f0c697d6522e3a87e2de93e34e375decb4.tar.bz2 uhd-70e1f0f0c697d6522e3a87e2de93e34e375decb4.zip |
b200: handle overruns during continuous streaming
This allows the b200 devices to recover from overruns that occur during
continuous streaming.
Signed-off-by: mattprost <matt.prost@ni.com>
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/cores/rx_vita_core_3000.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/cores/rx_vita_core_3000.cpp b/host/lib/usrp/cores/rx_vita_core_3000.cpp index 4b09f75fd..368ae8e0a 100644 --- a/host/lib/usrp/cores/rx_vita_core_3000.cpp +++ b/host/lib/usrp/cores/rx_vita_core_3000.cpp @@ -117,6 +117,9 @@ struct rx_vita_core_3000_impl : rx_vita_core_3000 cmd_word |= uint32_t((inst_stop) ? 1 : 0) << 28; cmd_word |= (inst_samps) ? stream_cmd.num_samps : ((inst_stop) ? 0 : 1); + _continuous_streaming = stream_cmd.stream_mode + == stream_cmd_t::STREAM_MODE_START_CONTINUOUS; + // issue the stream command _iface->poke32(REG_CTRL_CMD, cmd_word); const uint64_t ticks = |