aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2015-09-01 15:11:20 -0700
committerMartin Braun <martin.braun@ettus.com>2015-09-01 15:16:49 -0700
commit8adefb1d80f08a53856fef45b80ed5a07f0a9a26 (patch)
treecbcde826bef577ad4be0e97b7fbb8e1b84279973
parent5d3ad761d5479c981858dfe7d13e5fb11c25d8d6 (diff)
downloaduhd-8adefb1d80f08a53856fef45b80ed5a07f0a9a26.tar.gz
uhd-8adefb1d80f08a53856fef45b80ed5a07f0a9a26.tar.bz2
uhd-8adefb1d80f08a53856fef45b80ed5a07f0a9a26.zip
X300: Fix base address for FP GPIO
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index 2b6768079..f57556a8b 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -749,7 +749,7 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t &dev_addr)
////////////////////////////////////////////////////////////////////
// front panel gpio
////////////////////////////////////////////////////////////////////
- mb.fp_gpio = gpio_core_200::make(mb.radio_perifs[0].ctrl, radio::sr_addr(radio::GPIO), radio::RB32_FP_GPIO);
+ mb.fp_gpio = gpio_core_200::make(mb.radio_perifs[0].ctrl, radio::sr_addr(radio::FP_GPIO), radio::RB32_FP_GPIO);
BOOST_FOREACH(const gpio_attr_map_t::value_type attr, gpio_attr_map)
{
_tree->create<boost::uint32_t>(mb_path / "gpio" / "FP0" / attr.second)