From ff4418539cbd19322026e5cfdb01e50d2aae4257 Mon Sep 17 00:00:00 2001 From: Zydrunas Tamosevicius Date: Tue, 12 Jun 2018 00:35:27 +0200 Subject: 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 --- Transceiver52M/device/lms/LMSDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Transceiver52M/device/lms') 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(); -- cgit v1.2.3