UI: Fix bug where frequency set with number keys wouldn't apply

replace/48623f8ebd83a8e8c989608e99f2f5bc3fcded56
Federico Amedeo Izzo 2021-01-01 10:49:12 +01:00
rodzic f4c4a72584
commit 50b93904c1
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -736,6 +736,7 @@ void ui_updateFSM(event_t event, bool *sync_rtx)
{
state.channel.rx_frequency = new_rx_frequency;
state.channel.tx_frequency = new_rx_frequency;
*sync_rtx = true;
}
}
// Otherwise set both frequencies
@ -746,6 +747,7 @@ void ui_updateFSM(event_t event, bool *sync_rtx)
{
state.channel.rx_frequency = new_rx_frequency;
state.channel.tx_frequency = new_tx_frequency;
*sync_rtx = true;
}
}
state.ui_screen = VFO_MAIN;
@ -802,6 +804,7 @@ void ui_updateFSM(event_t event, bool *sync_rtx)
{
state.channel.rx_frequency = new_rx_frequency;
state.channel.tx_frequency = new_tx_frequency;
*sync_rtx = true;
}
state.ui_screen = VFO_MAIN;
}