diff options
author | Paul David <paul.david@ettus.com> | 2016-04-06 16:54:55 -0700 |
---|---|---|
committer | Paul David <paul.david@ettus.com> | 2016-04-06 16:54:55 -0700 |
commit | 1a002d38ac27656d0bae4a06314add0f586195d1 (patch) | |
tree | babc45ea2ab71863f37b470d988152adcb64f2e7 /host | |
parent | b25c127e453219b58883831d364b65ae6740ccb7 (diff) | |
download | uhd-1a002d38ac27656d0bae4a06314add0f586195d1.tar.gz uhd-1a002d38ac27656d0bae4a06314add0f586195d1.tar.bz2 uhd-1a002d38ac27656d0bae4a06314add0f586195d1.zip |
gpio core: Fixed a mismatch in the address assignment for RX and full duplex
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/cores/gpio_core_200.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/cores/gpio_core_200.cpp b/host/lib/usrp/cores/gpio_core_200.cpp index 78ad00bb5..704a71d5f 100644 --- a/host/lib/usrp/cores/gpio_core_200.cpp +++ b/host/lib/usrp/cores/gpio_core_200.cpp @@ -102,10 +102,10 @@ private: addr = REG_GPIO_TX_ONLY; break; case dboard_iface::ATR_REG_RX_ONLY: - addr = REG_GPIO_IDLE; + addr = REG_GPIO_RX_ONLY; break; case dboard_iface::ATR_REG_FULL_DUPLEX: - addr = REG_GPIO_RX_ONLY; + addr = REG_GPIO_BOTH; break; default: UHD_THROW_INVALID_CODE_PATH(); |