aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/rfnoc
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-08-01 17:13:41 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:36 -0800
commit7bac67af0898486745ea2f0590e80f5e614196af (patch)
treeb11925c15d84d455199c65b59e1383969aa9d625 /host/lib/include/uhdlib/rfnoc
parentbddaac5e2678b190719228fc26877af5a2ef1910 (diff)
downloaduhd-7bac67af0898486745ea2f0590e80f5e614196af.tar.gz
uhd-7bac67af0898486745ea2f0590e80f5e614196af.tar.bz2
uhd-7bac67af0898486745ea2f0590e80f5e614196af.zip
rfnoc: client0: Change flush-all-blocks to not throw on timeout
The convenience call that flushed all the blocks would throw during timeout. Now, it returns a bool whether or not the flush was successful.
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc')
-rw-r--r--host/lib/include/uhdlib/rfnoc/client_zero.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/client_zero.hpp b/host/lib/include/uhdlib/rfnoc/client_zero.hpp
index b9bcb32e5..43f955870 100644
--- a/host/lib/include/uhdlib/rfnoc/client_zero.hpp
+++ b/host/lib/include/uhdlib/rfnoc/client_zero.hpp
@@ -154,9 +154,9 @@ public:
bool complete_flush(uint16_t portno);
/*! Go through the entire flush process for all ports
- * \throws uhd::runtime_error if flush failed
+ * \return whether or not the flush succeeded
*/
- void complete_flush_all_blocks();
+ bool complete_flush_all_blocks();
/*! Reset a port's control logic
*