Skip to content

Commit

Permalink
Modulation frequency corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
erikkaashoek committed Sep 26, 2020
1 parent 61f4087 commit f971e29
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sa_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1606,6 +1606,12 @@ pureRSSI_t perform(bool break_on_operation, int i, uint32_t f, int tracking)
if (setting.modulation != MO_NONE && setting.modulation != MO_EXTERNAL && setting.modulation_frequency != 0) {
modulation_delay = 1000 * 200 / setting.modulation_frequency - 20;
modulation_counter = 0;
if (setting.modulation == MO_AM)
modulation_delay += 49;
if (setting.modulation == MO_NFM)
modulation_delay += -22;
if (setting.modulation == MO_WFM)
modulation_delay += -18;
}
}
modulation_again:
Expand Down

0 comments on commit f971e29

Please sign in to comment.