summaryrefslogtreecommitdiff
path: root/usrp2/host/lib/usrp2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'usrp2/host/lib/usrp2.cc')
-rw-r--r--usrp2/host/lib/usrp2.cc10
1 files changed, 10 insertions, 0 deletions
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
@@ -170,6 +170,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)
{
return d_impl->set_rx_gain(gain);
@@ -280,6 +285,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)
{
return d_impl->set_tx_gain(gain);