diff options
Diffstat (limited to 'gr-usrp2/src/usrp2_sink_base.cc')
-rw-r--r-- | gr-usrp2/src/usrp2_sink_base.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gr-usrp2/src/usrp2_sink_base.cc b/gr-usrp2/src/usrp2_sink_base.cc index 4579d1651..ce473f236 100644 --- a/gr-usrp2/src/usrp2_sink_base.cc +++ b/gr-usrp2/src/usrp2_sink_base.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2008 Free Software Foundation, Inc. + * Copyright 2008,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -47,6 +47,12 @@ usrp2_sink_base::~usrp2_sink_base () } bool +usrp2_sink_base::set_antenna(int ant) +{ + return d_u2->set_tx_antenna(ant); +} + +bool usrp2_sink_base::set_gain(double gain) { return d_u2->set_tx_gain(gain); |