aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-09-01 20:36:22 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-09-01 20:36:33 +0200
commite6fdf8fcad276cd207af277bf4b8c2251313cde8 (patch)
tree8a6f7ebee17db383cc796a427bf06df2dc37a78d
parentcdd77a447d21302b0a120de4eedcb1e19ca1300c (diff)
detectGeneralBurst(): Increase log level about clipping to INFO
There's another related logging line also at INFO level in the caller path in Transceiver.cpp, but it only prints if detectBurst() failed. Let's print this one as INFO too, which proved to be a good logging level. This way user also notices gain is too high despite osmo-trx is still able to decode bursts. Change-Id: Ieca4f19ae1099a430e9b838f8b6780b1c61a87a9
-rw-r--r--Transceiver52M/sigProcLib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/sigProcLib.cpp b/Transceiver52M/sigProcLib.cpp
index b3e3969..91d1677 100644
--- a/Transceiver52M/sigProcLib.cpp
+++ b/Transceiver52M/sigProcLib.cpp
@@ -1589,7 +1589,7 @@ static int detectGeneralBurst(const signalVector &rxBurst, float thresh, int sps
// and only report clipping if we can't demod.
float maxAmpl = maxAmplitude(rxBurst);
if (maxAmpl > CLIP_THRESH) {
- LOG(DEBUG) << "max burst amplitude: " << maxAmpl << " is above the clipping threshold: " << CLIP_THRESH << std::endl;
+ LOG(INFO) << "max burst amplitude: " << maxAmpl << " is above the clipping threshold: " << CLIP_THRESH << std::endl;
clipping = true;
}