From 7bac67af0898486745ea2f0590e80f5e614196af Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 1 Aug 2019 17:13:41 -0700 Subject: 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. --- host/lib/include/uhdlib/rfnoc/client_zero.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/include/uhdlib') 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 * -- cgit v1.2.3