diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-01-11 10:50:00 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-04 08:18:41 -0600 |
commit | 01e65903c2e17ead3318b7ca7a3da7c8a906a3a0 (patch) | |
tree | d9b5881cee2923bcf2e8719dad725443d05c0534 /host/lib/usrp/x300 | |
parent | 107a49c0c236940da7d3bd0f57da4bc1e2a34cb4 (diff) | |
download | uhd-01e65903c2e17ead3318b7ca7a3da7c8a906a3a0.tar.gz uhd-01e65903c2e17ead3318b7ca7a3da7c8a906a3a0.tar.bz2 uhd-01e65903c2e17ead3318b7ca7a3da7c8a906a3a0.zip |
lib: Remove unused constants
The constants were either commented out, when their value is still
useful to the reader, or removed if not.
Diffstat (limited to 'host/lib/usrp/x300')
-rw-r--r-- | host/lib/usrp/x300/x300_eth_mgr.cpp | 1 | ||||
-rw-r--r-- | host/lib/usrp/x300/x300_radio_control.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/usrp/x300/x300_eth_mgr.cpp b/host/lib/usrp/x300/x300_eth_mgr.cpp index d7b8b15c4..f428fc98e 100644 --- a/host/lib/usrp/x300/x300_eth_mgr.cpp +++ b/host/lib/usrp/x300/x300_eth_mgr.cpp @@ -44,7 +44,6 @@ namespace asio = boost::asio; namespace { -constexpr unsigned int X300_UDP_RESERVED_FRAME_SIZE = 64; constexpr size_t XGE_DATA_FRAME_SEND_SIZE = x300::DATA_FRAME_MAX_SIZE; constexpr size_t XGE_DATA_FRAME_RECV_SIZE = x300::DATA_FRAME_MAX_SIZE; constexpr size_t GE_DATA_FRAME_SEND_SIZE = 1472; diff --git a/host/lib/usrp/x300/x300_radio_control.cpp b/host/lib/usrp/x300/x300_radio_control.cpp index cdac71d52..893a99942 100644 --- a/host/lib/usrp/x300/x300_radio_control.cpp +++ b/host/lib/usrp/x300/x300_radio_control.cpp @@ -96,7 +96,7 @@ static constexpr uint32_t SR_DB_GPIO = PERIPH_BASE + 192 * PERIPH_REG_OFFSET; static constexpr uint32_t RB_MISC_IO = PERIPH_BASE + 16 * PERIPH_REG_OFFSET; static constexpr uint32_t RB_SPI = PERIPH_BASE + 17 * PERIPH_REG_OFFSET; -static constexpr uint32_t RB_LEDS = PERIPH_BASE + 18 * PERIPH_REG_OFFSET; +// static constexpr uint32_t RB_LEDS = PERIPH_BASE + 18 * PERIPH_REG_OFFSET; static constexpr uint32_t RB_DB_GPIO = PERIPH_BASE + 19 * PERIPH_REG_OFFSET; static constexpr uint32_t RB_FP_GPIO = PERIPH_BASE + 20 * PERIPH_REG_OFFSET; |