1
0
mirror of https://codeberg.org/mclemens/ubitxv6.git synced 2025-02-21 06:57:27 -05:00

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

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