Skip to content

Commit

Permalink
autogain: print autogain settings
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Nov 3, 2024
1 parent 80fc546 commit 8fd5acf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readsb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8fd5acf

Please sign in to comment.