diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-05-12 16:57:53 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-05-12 16:57:53 +0200 |
commit | 5733a5c9a1a070ebd30ce55e181d5f0d8917de60 (patch) | |
tree | 7e6048b5654902ee3f87691f211fba435d0efc90 /src/OutputUHD.cpp | |
parent | 1deec1418cd49e27bc2f7ddd6cd22ac6607642b3 (diff) | |
download | dabmod-5733a5c9a1a070ebd30ce55e181d5f0d8917de60.tar.gz dabmod-5733a5c9a1a070ebd30ce55e181d5f0d8917de60.tar.bz2 dabmod-5733a5c9a1a070ebd30ce55e181d5f0d8917de60.zip |
Set RX antenna to RX2
Diffstat (limited to 'src/OutputUHD.cpp')
-rw-r--r-- | src/OutputUHD.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp index f764fb8..1a137d3 100644 --- a/src/OutputUHD.cpp +++ b/src/OutputUHD.cpp @@ -298,6 +298,9 @@ OutputUHD::OutputUHD( SetDelayBuffer(myConf.dabMode); + myUsrp->set_rx_antenna("RX2"); + MDEBUG("OutputUHD:Set RX Antenna: %s ...\n", myUsrp->get_rx_antenna().c_str()); + myUsrp->set_rx_gain(myConf.rxgain); MDEBUG("OutputUHD:Actual RX Gain: %f ...\n", myUsrp->get_rx_gain()); |