aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-07-29 09:45:09 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-07-30 12:44:11 -0500
commitbb264b812a1b308bb73fb404cab3a90db30ca7c7 (patch)
tree5f7ddb1a29764b72fcf7abe6b480e9125cd820c5 /host
parentaabc7dd74a8811ac937cadf8fb8063508f055afe (diff)
downloaduhd-bb264b812a1b308bb73fb404cab3a90db30ca7c7.tar.gz
uhd-bb264b812a1b308bb73fb404cab3a90db30ca7c7.tar.bz2
uhd-bb264b812a1b308bb73fb404cab3a90db30ca7c7.zip
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.
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/dboard/e3xx/e3xx_constants.hpp1
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_constants.hpp1
2 files changed, 0 insertions, 2 deletions
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 <string>
#include <vector>
-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 <string>
#include <vector>
-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