Slight tweak to how frequencies are changed so that quicklist changes will update the actual oscillators

This commit is contained in:
Reed Nightingale 2020-05-04 22:27:37 -07:00
parent 0b65559e97
commit e3f23ae755
1 changed files with 4 additions and 1 deletions

View File

@ -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);
}