aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_impl.cpp
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2014-05-20 14:35:15 -0700
committerBen Hilburn <ben.hilburn@ettus.com>2014-05-20 14:35:15 -0700
commit79c9b12b2aa3107634153db03a1fd9058f6aa6b9 (patch)
treee2f23fd2ec3bca01e5e58daf6a86626b821e5e31 /host/lib/usrp/x300/x300_impl.cpp
parent81f25fca0c82a45586cb07e7d08b8e2c98e2e629 (diff)
parent054a752bb25f9e17c1269b28ad2a95865c0d63a2 (diff)
downloaduhd-79c9b12b2aa3107634153db03a1fd9058f6aa6b9.tar.gz
uhd-79c9b12b2aa3107634153db03a1fd9058f6aa6b9.tar.bz2
uhd-79c9b12b2aa3107634153db03a1fd9058f6aa6b9.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.cpp')
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index e931b7983..698d98f55 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -1321,8 +1321,8 @@ void x300_impl::update_atr_leds(gpio_core_200_32wo::sptr leds, const std::string
{
const bool is_txrx = (rx_ant == "TX/RX");
const int rx_led = (1 << 2);
- const int txrx_led = (1 << 1);
- const int tx_led = (1 << 0);
+ const int tx_led = (1 << 1);
+ const int txrx_led = (1 << 0);
leds->set_atr_reg(dboard_iface::ATR_REG_IDLE, 0);
leds->set_atr_reg(dboard_iface::ATR_REG_RX_ONLY, is_txrx? txrx_led : rx_led);
leds->set_atr_reg(dboard_iface::ATR_REG_TX_ONLY, tx_led);