From 18460e34787772d606846c3b09190b80ae1e621d Mon Sep 17 00:00:00 2001 From: Aaron Rossetto Date: Mon, 1 Jun 2020 15:21:43 -0500 Subject: python: Add radio RFNoC block controller bindings --- host/include/uhd/rfnoc/radio_control.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/radio_control.hpp b/host/include/uhd/rfnoc/radio_control.hpp index 867b2a919..349cca536 100644 --- a/host/include/uhd/rfnoc/radio_control.hpp +++ b/host/include/uhd/rfnoc/radio_control.hpp @@ -24,7 +24,7 @@ class radio_control : public noc_block_base public: static const std::string ALL_LOS; static const std::string ALL_GAINS; - static const size_t ALL_CHANS; + static constexpr size_t ALL_CHANS = size_t(~0); RFNOC_DECLARE_BLOCK(radio_control) -- cgit v1.2.3