From 1a002d38ac27656d0bae4a06314add0f586195d1 Mon Sep 17 00:00:00 2001 From: Paul David Date: Wed, 6 Apr 2016 16:54:55 -0700 Subject: gpio core: Fixed a mismatch in the address assignment for RX and full duplex --- host/lib/usrp/cores/gpio_core_200.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib') 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(); -- cgit v1.2.3