Fix issue with RIT restore during VFO change

This commit is contained in:
Reed Nightingale 2020-01-04 02:14:21 -08:00
parent 073cfd4cb9
commit a2109de63f

View File

@ -336,6 +336,8 @@ void checkButton(){
}
void switchVFO(Vfo_e new_vfo){
ritDisable();//If we are in RIT mode, we need to disable it before setting the active VFO so that the correct VFO gets it's frequency restored
globalSettings.activeVfo = new_vfo;
setFrequency(GetActiveVfoFreq());
redrawVFOs();