diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-12-31 10:31:42 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-31 11:36:07 -0800 |
commit | b4d58f3501596fdddf240d576d0b1b2cb5862892 (patch) | |
tree | ff4f393f9d087964d5f94cb2cb8a2c0aa028146f /host/lib/usrp/usrp1 | |
parent | 3f30734fbace70c952c2939ed0cd9fff7b6e4914 (diff) | |
download | uhd-b4d58f3501596fdddf240d576d0b1b2cb5862892.tar.gz uhd-b4d58f3501596fdddf240d576d0b1b2cb5862892.tar.bz2 uhd-b4d58f3501596fdddf240d576d0b1b2cb5862892.zip |
USRP1: REALLY fix the full-duplex case.
Diffstat (limited to 'host/lib/usrp/usrp1')
-rw-r--r-- | host/lib/usrp/usrp1/dboard_iface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/dboard_iface.cpp b/host/lib/usrp/usrp1/dboard_iface.cpp index c2c971269..4e47d6bf6 100644 --- a/host/lib/usrp/usrp1/dboard_iface.cpp +++ b/host/lib/usrp/usrp1/dboard_iface.cpp @@ -267,7 +267,7 @@ void usrp1_dboard_iface::_set_atr_reg(unit_t unit, atr_reg_t atr, boost::uint16_t value) { // Ignore unsupported states - if ((atr == ATR_REG_IDLE)) + if ((atr == ATR_REG_IDLE) || (atr == ATR_REG_TX_ONLY)) return; if(atr == ATR_REG_RX_ONLY) { switch(unit) { @@ -284,7 +284,7 @@ void usrp1_dboard_iface::_set_atr_reg(unit_t unit, _iface->poke32(FR_ATR_RXVAL_2, value); break; } - } else if (atr == ATR_REG_TX_ONLY && atr == ATR_REG_FULL_DUPLEX) { + } else if (atr == ATR_REG_FULL_DUPLEX) { switch(unit) { case UNIT_RX: if (_dboard_slot == usrp1_impl::DBOARD_SLOT_A) |