diff options
author | Tom Tsou <tom.tsou@ettus.com> | 2015-08-10 15:37:09 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-08-10 17:39:10 -0700 |
commit | 46342c082d851d05afae8c94421d35ea3cf881eb (patch) | |
tree | 45f4ff2501b1421fa5077b7c2930a42b191649b5 /host | |
parent | b2c847acb2c2913d3a2a73e3da863a3ee0d730e5 (diff) | |
download | uhd-46342c082d851d05afae8c94421d35ea3cf881eb.tar.gz uhd-46342c082d851d05afae8c94421d35ea3cf881eb.tar.bz2 uhd-46342c082d851d05afae8c94421d35ea3cf881eb.zip |
e300: Fix internal GPIO register setting
Resolves issue #890
"E300: Does not transmit on master"
Fixes GPIO register mismatch introduced by c2827e9a0b.
"x300, e300: Moved common register names to radio namespace"
With register correction, transmit and LED behaviour performs as
expected.
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/e300/e300_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/e300/e300_impl.cpp b/host/lib/usrp/e300/e300_impl.cpp index 06f8e9e58..5bef783f6 100644 --- a/host/lib/usrp/e300/e300_impl.cpp +++ b/host/lib/usrp/e300/e300_impl.cpp @@ -512,7 +512,7 @@ e300_impl::e300_impl(const uhd::device_addr_t &device_addr) //////////////////////////////////////////////////////////////////// // internal gpios //////////////////////////////////////////////////////////////////// - gpio_core_200::sptr fp_gpio = gpio_core_200::make(_radio_perifs[0].ctrl, radio::sr_addr(radio::GPIO), radio::RB32_FP_GPIO); + gpio_core_200::sptr fp_gpio = gpio_core_200::make(_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" / "INT0" / attr.second) |