Fix RTX not updated when switching from MEM to VFO (#30,TG-240,TG-241)

This commit is contained in:
Federico Amedeo Izzo 2021-06-05 09:36:00 +02:00
parent 35de41c505
commit 49cb28c5b8
1 changed files with 2 additions and 0 deletions

View File

@ -834,6 +834,8 @@ void ui_updateFSM(event_t event, bool *sync_rtx)
{
// Restore VFO channel
state.channel = state.vfo_channel;
// Update RTX configuration
*sync_rtx = true;
// Switch to VFO screen
state.ui_screen = MAIN_VFO;
}