From 8fd5acf09fbf3a8b5273f5e9ac90e0cd80723d5d Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sun, 3 Nov 2024 09:46:36 +0100 Subject: [PATCH] autogain: print autogain settings --- readsb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readsb.c b/readsb.c index 965221b4..67804ada 100644 --- a/readsb.c +++ b/readsb.c @@ -1558,6 +1558,8 @@ static void parseGainOpt(char *arg) { if (token[4]) { Modes.loudThreshold = atoi(token[4]); } + fprintf(stderr, "startingGain: %4.1f noiseLowThreshold: %3d noiseHighThreshold: %3d loudThreshold: %3d\n", + Modes.gain / 10.0, Modes.noiseLowThreshold, Modes.noiseHighThreshold, Modes.loudThreshold); } else { Modes.gain = (int) (atof(arg)*10); // Gain is in tens of DBs Modes.autoGain = 0;