From e3f23ae755b7965be7f1dd6561075ba215585886 Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Mon, 4 May 2020 22:27:37 -0700 Subject: [PATCH] Slight tweak to how frequencies are changed so that quicklist changes will update the actual oscillators --- menu_main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/menu_main.cpp b/menu_main.cpp index 908826e..08e8ff4 100644 --- a/menu_main.cpp +++ b/menu_main.cpp @@ -65,6 +65,9 @@ void drawMainMenuIncrement() updateBandButtons(last_freq); last_freq = GetActiveVfoFreq(); last_vfo = globalSettings.activeVfo; + + //We set this here so that we're always hearing what's displayed + setFrequency(last_freq); } if(last_mode != GetActiveVfoMode()){ @@ -100,7 +103,7 @@ void mainMenuTune(int16_t knob) const uint32_t current_freq = GetActiveVfoFreq(); const uint32_t new_freq = current_freq + (50 * knob); - setFrequency(new_freq); + SetActiveVfoFreq(new_freq); autoSelectSidebandChanged(current_freq); }