aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/radio_control.hpp2
1 files changed, 1 insertions, 1 deletions
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)