aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/cores/gpio_core_200.cpp4
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();