From f971e290139aaf80b96d864771cff83a22a8d62c Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Sat, 26 Sep 2020 18:51:12 +0200 Subject: [PATCH] Modulation frequency corrections --- sa_core.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sa_core.c b/sa_core.c index 3d97411..2f7f4b0 100644 --- a/sa_core.c +++ b/sa_core.c @@ -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: