From 803cb1d7974ed7d419550cc66480c107c2f0d454 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 25 Feb 2010 15:46:01 -0800 Subject: Added call to set antenna. Split XCVR into new thing cuz size. --- usrp2/host/lib/usrp2.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'usrp2/host/lib/usrp2.cc') diff --git a/usrp2/host/lib/usrp2.cc b/usrp2/host/lib/usrp2.cc index 801a436a3..f0ee564be 100644 --- a/usrp2/host/lib/usrp2.cc +++ b/usrp2/host/lib/usrp2.cc @@ -169,6 +169,11 @@ namespace usrp2 { // Receive + bool + usrp2::set_rx_antenna(int ant){ + return d_impl->set_rx_antenna(ant); + } + bool usrp2::set_rx_gain(double gain) { @@ -279,6 +284,11 @@ namespace usrp2 { // Transmit + bool + usrp2::set_tx_antenna(int ant){ + return d_impl->set_tx_antenna(ant); + } + bool usrp2::set_tx_gain(double gain) { -- cgit