aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZydrunas Tamosevicius <z.tamosevicius@limemicro.com>2018-06-12 00:35:27 +0200
committerHarald Welte <laforge@gnumonks.org>2018-06-12 00:36:49 +0200
commit70621b74844a6ea08d6da5f5b1e1835b9af91771 (patch)
treecbf013953907a4fee964651d8180f9a1f3e72543
parent1568f8701400a2a92514ec6abcabdee742e6736c (diff)
lms: Reduce Rx gain from 47 to 34 dB
Initially, Rx gain was hardcoded to be 47. This was too high for our setup and we were constantly getting "clipping detected" messages. Reducing Rx gain to 34 solved the issue. However, it looks like gains should be controlled through configuration files. Change-Id: I30580f18c4ad630c09f725b1d24c125fc3119809
-rw-r--r--Transceiver52M/device/lms/LMSDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp
index ad6f67b..c531a7f 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -319,7 +319,7 @@ double LMSDevice::setRxGain(double dB, size_t chan)
return 0.0;
}
- dB = 47.0;
+ dB = 34.0;
if (dB > maxRxGain())
dB = maxRxGain();