From 016136f548220ad7bd5c34b8e25fc740a68aeb08 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 24 Jul 2018 09:33:30 -0700 Subject: x300: Use constrained_args x300_impl will now use a constrained_device_args_t-derived object to parse device args. No API or functional changes. --- host/lib/usrp/x300/x300_defaults.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp/x300/x300_defaults.hpp') diff --git a/host/lib/usrp/x300/x300_defaults.hpp b/host/lib/usrp/x300/x300_defaults.hpp index 5471b02c6..e10b29291 100644 --- a/host/lib/usrp/x300/x300_defaults.hpp +++ b/host/lib/usrp/x300/x300_defaults.hpp @@ -11,13 +11,14 @@ #include "../device3/device3_impl.hpp" #include -#define NIUSRPRIO_DEFAULT_RPC_PORT "5444" namespace uhd { namespace usrp { namespace x300 { +static constexpr size_t NIUSRPRIO_DEFAULT_RPC_PORT = 5444; + static constexpr uint32_t RADIO_DEST_PREFIX_TX = 0; static constexpr size_t XB_DST_E0 = 0; static constexpr size_t XB_DST_E1 = 1; -- cgit v1.2.3