If RIT is on, turn it off before switching VFO

This commit is contained in:
Reed Nightingale 2020-04-26 15:17:18 -07:00
parent 94be10fd87
commit 0467223fe6

View File

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