aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorSugandha Gupta <sugandha.gupta@ettus.com>2018-08-24 12:11:00 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-09-12 12:10:39 -0700
commit94d6a6a0a64ad2dd1b1566652b22cdd05cef2c59 (patch)
tree7f51ab199f9d7625677b0b1550b8e78598232b33 /host/lib/usrp
parent8f6dff00ec3b01a2a541558b648b603b0ebc90ff (diff)
downloaduhd-94d6a6a0a64ad2dd1b1566652b22cdd05cef2c59.tar.gz
uhd-94d6a6a0a64ad2dd1b1566652b22cdd05cef2c59.tar.bz2
uhd-94d6a6a0a64ad2dd1b1566652b22cdd05cef2c59.zip
e320: gpio: Fix front panel GPIO readback
The gpio devtest passes after this fix. Enabling the test
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/dboard/neon/neon_radio_ctrl_init.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/neon/neon_radio_ctrl_init.cpp b/host/lib/usrp/dboard/neon/neon_radio_ctrl_init.cpp
index ff22ff13f..877ca8c6e 100644
--- a/host/lib/usrp/dboard/neon/neon_radio_ctrl_init.cpp
+++ b/host/lib/usrp/dboard/neon/neon_radio_ctrl_init.cpp
@@ -118,7 +118,10 @@ void neon_radio_ctrl_impl::_init_peripherals()
}
UHD_LOG_TRACE(unique_id(), "Initializing front-panel GPIO control...")
_fp_gpio = usrp::gpio_atr::gpio_atr_3000::make(
- _get_ctrl(0), regs::sr_addr(regs::FP_GPIO), regs::RB_FP_GPIO);
+ _get_ctrl(0),
+ regs::sr_addr(regs::FP_GPIO),
+ regs::rb_addr(regs::RB_FP_GPIO)
+ );
}
void neon_radio_ctrl_impl::_init_frontend_subtree(