diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-07-24 09:33:30 -0700 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-08-10 10:16:36 -0700 |
commit | 016136f548220ad7bd5c34b8e25fc740a68aeb08 (patch) | |
tree | 36fd140ac4eac776af75e59c577f8694dfeb9260 /host/lib/usrp/x300/x300_defaults.hpp | |
parent | 2129e9d20e5009f0c97b5935740d5db906956387 (diff) | |
download | uhd-016136f548220ad7bd5c34b8e25fc740a68aeb08.tar.gz uhd-016136f548220ad7bd5c34b8e25fc740a68aeb08.tar.bz2 uhd-016136f548220ad7bd5c34b8e25fc740a68aeb08.zip |
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.
Diffstat (limited to 'host/lib/usrp/x300/x300_defaults.hpp')
-rw-r--r-- | host/lib/usrp/x300/x300_defaults.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 <string> -#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; |