Skip to content

Commit

Permalink
non rtl-sdr: use default gain when gain=auto passed
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Dec 10, 2024
1 parent 2b63384 commit fb84497
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readsb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,7 @@ static void parseGainOpt(char *arg) {
if (strcasestr(arg, "auto") == arg) {
if (Modes.sdr_type != SDR_RTLSDR) {
fprintf(stderr, "autogain not supported for non rtl-sdr devices\n");
return;
}
if (strcasestr(arg, "auto-verbose") == arg) {
fprintf(stderr, "autogain enabled, verbose mode\n");
Expand Down

0 comments on commit fb84497

Please sign in to comment.