mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-05-19 15:25:30 -04:00
Lower default level limit to 8000
Max theoretical value is 16384 (values above is ripple due to saturation). Decodes better signals with lower levels. Analyses rtl_433_tests/tests/GT-WT-02/gfile003.data cleanly
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#define DEFAULT_HOP_EVENTS 2
|
||||
#define DEFAULT_ASYNC_BUF_NUMBER 32
|
||||
#define DEFAULT_BUF_LENGTH (16 * 16384)
|
||||
#define DEFAULT_LEVEL_LIMIT 10000
|
||||
#define DEFAULT_LEVEL_LIMIT 8000 // Theoretical high level at I/Q saturation is 128x128 = 16384 (above is ripple)
|
||||
#define DEFAULT_DECIMATION_LEVEL 0
|
||||
#define MINIMAL_BUF_LENGTH 512
|
||||
#define MAXIMAL_BUF_LENGTH (256 * 16384)
|
||||
|
||||
@@ -74,7 +74,7 @@ void usage(r_device *devices) {
|
||||
"\t[-g gain (default: 0 for auto)]\n"
|
||||
"\t[-a analyze mode, print a textual description of the signal]\n"
|
||||
"\t[-t signal auto save, use it together with analyze mode (-a -t)\n"
|
||||
"\t[-l change the detection level used to determine pulses (0-3200) default: %i]\n"
|
||||
"\t[-l change the detection level used to determine pulses (0-32767) default: %i]\n"
|
||||
"\t[-f [-f...] receive frequency[s], default: %i Hz]\n"
|
||||
"\t[-s sample rate (default: %i Hz)]\n"
|
||||
"\t[-S force sync output (default: async)]\n"
|
||||
|
||||
Reference in New Issue
Block a user