UI: Fix bug where frequency set with number keys wouldn't apply
This commit is contained in:
parent
f4c4a72584
commit
50b93904c1
|
|
@ -736,6 +736,7 @@ void ui_updateFSM(event_t event, bool *sync_rtx)
|
||||||
{
|
{
|
||||||
state.channel.rx_frequency = new_rx_frequency;
|
state.channel.rx_frequency = new_rx_frequency;
|
||||||
state.channel.tx_frequency = new_rx_frequency;
|
state.channel.tx_frequency = new_rx_frequency;
|
||||||
|
*sync_rtx = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Otherwise set both frequencies
|
// 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.rx_frequency = new_rx_frequency;
|
||||||
state.channel.tx_frequency = new_tx_frequency;
|
state.channel.tx_frequency = new_tx_frequency;
|
||||||
|
*sync_rtx = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
state.ui_screen = VFO_MAIN;
|
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.rx_frequency = new_rx_frequency;
|
||||||
state.channel.tx_frequency = new_tx_frequency;
|
state.channel.tx_frequency = new_tx_frequency;
|
||||||
|
*sync_rtx = true;
|
||||||
}
|
}
|
||||||
state.ui_screen = VFO_MAIN;
|
state.ui_screen = VFO_MAIN;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue