summaryrefslogtreecommitdiffstats
path: root/src/OutputUHD.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-05-12 16:57:53 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-05-12 16:57:53 +0200
commit5733a5c9a1a070ebd30ce55e181d5f0d8917de60 (patch)
tree7e6048b5654902ee3f87691f211fba435d0efc90 /src/OutputUHD.cpp
parent1deec1418cd49e27bc2f7ddd6cd22ac6607642b3 (diff)
downloaddabmod-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.cpp3
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());