mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-11-04 03:47:21 -05:00
Fix issue with RIT restore during VFO change
This commit is contained in:
parent
073cfd4cb9
commit
a2109de63f
@ -336,6 +336,8 @@ void checkButton(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void switchVFO(Vfo_e new_vfo){
|
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;
|
globalSettings.activeVfo = new_vfo;
|
||||||
setFrequency(GetActiveVfoFreq());
|
setFrequency(GetActiveVfoFreq());
|
||||||
redrawVFOs();
|
redrawVFOs();
|
||||||
|
Loading…
Reference in New Issue
Block a user