Skip to content

Commit

Permalink
minor: Change to enable FM demod for any dumpers
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckschwerdt committed Jun 22, 2024
1 parent a88bc3b commit 056a530
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/rtl_433.c
Original file line number Diff line number Diff line change
Expand Up @@ -1669,10 +1669,14 @@ int main(int argc, char **argv) {
for (void **iter = demod->r_devs.elems; iter && *iter; ++iter) {
r_device *r_dev = *iter;
if (r_dev->modulation >= FSK_DEMOD_MIN_VAL) {
demod->enable_FM_demod = 1;
break;
demod->enable_FM_demod = 1;
break;
}
}
// if any dumpers are requested the FM demod might be needed
if (cfg->demod->dumper.len) {
demod->enable_FM_demod = 1;
}

{
char decoders_str[1024];
Expand Down

0 comments on commit 056a530

Please sign in to comment.