From 94d6a6a0a64ad2dd1b1566652b22cdd05cef2c59 Mon Sep 17 00:00:00 2001 From: Sugandha Gupta Date: Fri, 24 Aug 2018 12:11:00 -0700 Subject: e320: gpio: Fix front panel GPIO readback The gpio devtest passes after this fix. Enabling the test --- host/lib/usrp/dboard/neon/neon_radio_ctrl_init.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp') 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( -- cgit v1.2.3