mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-07-01 07:05:24 +00: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){
|
void osVfo(const Vfo_e vfo){
|
||||||
const uint32_t old_freq = GetActiveVfoFreq();
|
const uint32_t old_freq = GetActiveVfoFreq();
|
||||||
|
|
||||||
|
if(globalSettings.ritOn){
|
||||||
|
osRit();//Turn off RIT
|
||||||
|
}
|
||||||
|
|
||||||
globalSettings.activeVfo = vfo;
|
globalSettings.activeVfo = vfo;
|
||||||
SaveSettingsToEeprom();
|
SaveSettingsToEeprom();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user