Incorrect value for auto-gain

Incorrect value for auto-gain option the Modes.gain is multiplied by 10.
This commit is contained in:
papasven 2014-06-01 02:14:40 +02:00
parent 6afdc9bd1b
commit e6c43382b9

View file

@ -394,7 +394,7 @@ void showHelp(void) {
"| dump1090 ModeS Receiver Ver : " MODES_DUMP1090_VERSION " |\n" "| dump1090 ModeS Receiver Ver : " MODES_DUMP1090_VERSION " |\n"
"-----------------------------------------------------------------------------\n" "-----------------------------------------------------------------------------\n"
"--device-index <index> Select RTL device (default: 0)\n" "--device-index <index> Select RTL device (default: 0)\n"
"--gain <db> Set gain (default: max gain. Use -100 for auto-gain)\n" "--gain <db> Set gain (default: max gain. Use -10 for auto-gain)\n"
"--enable-agc Enable the Automatic Gain Control (default: off)\n" "--enable-agc Enable the Automatic Gain Control (default: off)\n"
"--freq <hz> Set frequency (default: 1090 Mhz)\n" "--freq <hz> Set frequency (default: 1090 Mhz)\n"
"--ifile <filename> Read data from file (use '-' for stdin)\n" "--ifile <filename> Read data from file (use '-' for stdin)\n"