Instantly update tuning when changing modes

This commit is contained in:
Reed Nightingale 2020-02-11 23:31:14 -08:00
parent 23ecb4e4b2
commit 5721e06a51

View File

@ -433,6 +433,7 @@ void osRit(){
void osSidebandMode(VfoMode_e mode){
SetActiveVfoMode(mode);
setFrequency(GetActiveVfoFreq());
SaveSettingsToEeprom();
Button button;
@ -470,6 +471,8 @@ void osCw(){
globalSettings.tuningMode = TuningMode_e::TUNE_SSB;
}
setFrequency(GetActiveVfoFreq());
Button button;
memcpy_P(&button,&bCw,sizeof(button));
drawButton(&button);