UI: Frequency set minor fix

This commit is contained in:
Federico Amedeo Izzo 2020-12-30 22:55:17 +01:00
parent 3f21c60471
commit 13a8ff9e40
1 changed files with 2 additions and 2 deletions

View File

@ -653,7 +653,7 @@ void ui_updateFSM(event_t event, bool *sync_rtx)
input_number = input_getPressedNumber(msg);
if(input_set == SET_RX)
{
if(input_position == 0)
if(input_position == 1)
new_rx_frequency = 0;
// Calculate portion of the new RX frequency
new_rx_frequency += input_number *
@ -670,7 +670,7 @@ void ui_updateFSM(event_t event, bool *sync_rtx)
}
else if(input_set == SET_TX)
{
if(input_position == 0)
if(input_position == 1)
new_tx_frequency = 0;
// Calculate portion of the new TX frequency
new_tx_frequency += input_number *