fix #52 switching from channel mode to VFO does not tune to the correct frequency shown

This commit is contained in:
Nunu 2024-01-09 14:55:24 +01:00
parent b5577c8723
commit 910120d83b

View File

@ -47,9 +47,8 @@ void COMMON_SwitchToVFOMode()
#ifdef ENABLE_VOICE
gAnotherVoiceID = VOICE_ID_FREQUENCY_MODE;
#endif
const uint8_t Vfo = gEeprom.TX_VFO;
SETTINGS_SaveVfoIndices();
RADIO_ConfigureChannel(Vfo, VFO_CONFIGURE_RELOAD);
gRequestSaveVFO = true;
gVfoConfigureMode = VFO_CONFIGURE_RELOAD;
return;
}
void COMMON_SwitchToChannelMode()