From bb264b812a1b308bb73fb404cab3a90db30ca7c7 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 29 Jul 2021 09:45:09 +0200 Subject: n3x0/e3x0: Remove reference to "master FP-GPIO radio" In days of yore, before we had evolved RFNoC to the UHD 4.0 state, only one radio on N310 was able to drive the front-panel GPIOs. With the introduction of the UHD 4.0 GPIO API, we have fine-grained control for every pin who may drive it. This makes this constant obsolete, and we remove it to avoid confusion. Besides, these two `constexpr` values where being used nowhere. --- host/lib/usrp/dboard/e3xx/e3xx_constants.hpp | 1 - host/lib/usrp/dboard/magnesium/magnesium_constants.hpp | 1 - 2 files changed, 2 deletions(-) (limited to 'host/lib/usrp') diff --git a/host/lib/usrp/dboard/e3xx/e3xx_constants.hpp b/host/lib/usrp/dboard/e3xx/e3xx_constants.hpp index f883a7d72..ea521d86f 100644 --- a/host/lib/usrp/dboard/e3xx/e3xx_constants.hpp +++ b/host/lib/usrp/dboard/e3xx/e3xx_constants.hpp @@ -11,7 +11,6 @@ #include #include -static constexpr size_t FPGPIO_MASTER_RADIO = 0; static constexpr double AD9361_RX_MIN_BANDWIDTH = 20.0e6; // Hz static constexpr double AD9361_RX_MAX_BANDWIDTH = 40.0e6; // Hz diff --git a/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp b/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp index 627eb46cc..8de62743d 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp @@ -12,7 +12,6 @@ #include #include -static constexpr size_t FPGPIO_MASTER_RADIO = 0; static constexpr size_t TOTAL_RADIO_PORTS = 4; static constexpr double AD9371_RX_MIN_BANDWIDTH = 20.0e6; // HZ static constexpr double AD9371_RX_MAX_BANDWIDTH = 100.0e6; // HZ -- cgit v1.2.3