Skip to content

Commit

Permalink
Reduce min pulse length detected.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Jan 4, 2023
1 parent 0da1b7a commit a5f3ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ uint32_t search_coherent_signal(RawSamplesBuffer *s, uint32_t idx) {
} classes[SEARCH_CLASSES];

memset(classes,0,sizeof(classes));
uint32_t minlen = 40, maxlen = 4000; /* Depends on data rate, here we
uint32_t minlen = 30, maxlen = 4000; /* Depends on data rate, here we
allow for high and low. */
uint32_t len = 0; /* Observed len of coherent samples. */
s->short_pulse_dur = 0;
Expand Down

0 comments on commit a5f3ce4

Please sign in to comment.