mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-09-29 22:35:59 -04:00
If RIT is on, turn it off before switching VFO
This commit is contained in:
parent
94be10fd87
commit
0467223fe6
@ -393,6 +393,11 @@ ButtonStatus_e bsVfo(const Vfo_e vfo){
|
||||
|
||||
void osVfo(const Vfo_e vfo){
|
||||
const uint32_t old_freq = GetActiveVfoFreq();
|
||||
|
||||
if(globalSettings.ritOn){
|
||||
osRit();//Turn off RIT
|
||||
}
|
||||
|
||||
globalSettings.activeVfo = vfo;
|
||||
SaveSettingsToEeprom();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user