mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-04-22 10:37:03 -04:00
Various documentation fixes for auto level
This commit is contained in:
@@ -48,7 +48,7 @@ Usage: = Tuner options =
|
||||
= Demodulator options =
|
||||
[-R <device>] Enable only the specified device decoding protocol (can be used multiple times)
|
||||
[-G] Enable all device protocols, included those disabled by default
|
||||
[-l <level>] Change detection level used to determine pulses [0-32767] (0 = auto) (default: 8000)
|
||||
[-l <level>] Change detection level used to determine pulses [0-16384] (0 = auto) (default: 0)
|
||||
[-z <value>] Override short value in data decoder
|
||||
[-x <value>] Override long value in data decoder
|
||||
[-n <value>] Specify number of samples to take (each sample is 2 bytes: 1 each of I & Q)
|
||||
|
||||
@@ -105,7 +105,7 @@ void usage(r_device *devices) {
|
||||
"\t= Demodulator options =\n"
|
||||
"\t[-R <device>] Enable only the specified device decoding protocol (can be used multiple times)\n"
|
||||
"\t[-G] Enable all device protocols, included those disabled by default\n"
|
||||
"\t[-l <level>] Change detection level used to determine pulses [0-32767] (0 = auto) (default: %i)\n"
|
||||
"\t[-l <level>] Change detection level used to determine pulses [0-16384] (0 = auto) (default: %i)\n"
|
||||
"\t[-z <value>] Override short value in data decoder\n"
|
||||
"\t[-x <value>] Override long value in data decoder\n"
|
||||
"\t[-n <value>] Specify number of samples to take (each sample is 2 bytes: 1 each of I & Q)\n"
|
||||
@@ -1063,7 +1063,7 @@ int main(int argc, char **argv) {
|
||||
else
|
||||
fprintf(stderr, "Sample rate set to %d.\n", rtlsdr_get_sample_rate(dev)); // Unfortunately, doesn't return real rate
|
||||
|
||||
fprintf(stderr, "Bit detection level set to %d.\n", demod->level_limit);
|
||||
fprintf(stderr, "Bit detection level set to %d%s.\n", demod->level_limit, (demod->level_limit ? "" : " (Auto)"));
|
||||
|
||||
if (0 == gain) {
|
||||
/* Enable automatic gain */
|
||||
|
||||
Reference in New Issue
Block a user