summaryrefslogtreecommitdiff
path: root/usrp
diff options
context:
space:
mode:
authorJason Abele2010-01-04 11:30:52 -0800
committerJason Abele2010-01-04 11:30:52 -0800
commitdab3f51bd02999f0b076fa3a89f1d71f0c04c579 (patch)
tree79563dc06621a566078f0c1850f61a73a6d51dcf /usrp
parent5a85f2708ce664469611b5263ac9da5f0b7b50fc (diff)
downloadgnuradio-dab3f51bd02999f0b076fa3a89f1d71f0c04c579.tar.gz
gnuradio-dab3f51bd02999f0b076fa3a89f1d71f0c04c579.tar.bz2
gnuradio-dab3f51bd02999f0b076fa3a89f1d71f0c04c579.zip
Added antenna select support for new board rev
Diffstat (limited to 'usrp')
-rw-r--r--usrp/host/lib/db_wbxng.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/usrp/host/lib/db_wbxng.cc b/usrp/host/lib/db_wbxng.cc
index c5d96b51e..3dafe458b 100644
--- a/usrp/host/lib/db_wbxng.cc
+++ b/usrp/host/lib/db_wbxng.cc
@@ -31,8 +31,10 @@
// Tx and Rx have shared defs, but different i/o regs
#define ENABLE_5 (1 << 7) // enables 5.0V power supply
#define ENABLE_33 (1 << 6) // enables 3.3V supply
-#define RX_TXN (1 << 5) // Tx only: T/R antenna switch for TX/RX port
-#define RX2_RX1N (1 << 5) // Rx only: antenna switch between RX2 and TX/RX port
+//#define RX_TXN (1 << 15) // Tx only: T/R antenna switch for TX/RX port
+//#define RX2_RX1N (1 << 15) // Rx only: antenna switch between RX2 and TX/RX port
+#define RX_TXN ((1 << 5)|(1 << 15)) // Tx only: T/R antenna switch for TX/RX port
+#define RX2_RX1N ((1 << 5)|(1 << 15)) // Rx only: antenna switch between RX2 and TX/RX port
#define RXBB_EN (1 << 4)
#define TXMOD_EN (1 << 4)
#define PLL_CE (1 << 3)