diff options
Diffstat (limited to 'host/lib/rfnoc')
-rw-r--r-- | host/lib/rfnoc/sink_block_ctrl_base.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/host/lib/rfnoc/sink_block_ctrl_base.cpp b/host/lib/rfnoc/sink_block_ctrl_base.cpp index 56755a269..e4107c0b8 100644 --- a/host/lib/rfnoc/sink_block_ctrl_base.cpp +++ b/host/lib/rfnoc/sink_block_ctrl_base.cpp @@ -85,11 +85,15 @@ void sink_block_ctrl_base::set_error_policy( ) { if (policy == "next_packet") { - sr_write(SR_ERROR_POLICY, (1 << 1) | 1); + sr_write(SR_ERROR_POLICY, (1 << 2) | 1); } else if (policy == "next_burst") { - sr_write(SR_ERROR_POLICY, (1 << 2) | 1); + sr_write(SR_ERROR_POLICY, (1 << 3) | 1); + } + else if (policy == "continue") + { + sr_write(SR_ERROR_POLICY, (1 << 1) | 1); } else if (policy == "wait") { |