diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2014-05-20 13:58:24 -0700 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2014-05-20 13:58:24 -0700 |
commit | 3e49237e5d3a06a767c3e64d099570204452d23f (patch) | |
tree | 804f2096865a54978556bd77e2916725672d9b92 /host/lib | |
parent | 43512ede595816dd911208fd2291028b4dead3e1 (diff) | |
parent | e5bb95ca605cf4a3abe1926954c4952a22a2ee7e (diff) | |
download | uhd-3e49237e5d3a06a767c3e64d099570204452d23f.tar.gz uhd-3e49237e5d3a06a767c3e64d099570204452d23f.tar.bz2 uhd-3e49237e5d3a06a767c3e64d099570204452d23f.zip |
x300: Fixing Bug 456 - backwards LED colors.
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 4 |
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); |