UI: Frequency set minor fix
This commit is contained in:
parent
3f21c60471
commit
13a8ff9e40
|
|
@ -653,7 +653,7 @@ void ui_updateFSM(event_t event, bool *sync_rtx)
|
||||||
input_number = input_getPressedNumber(msg);
|
input_number = input_getPressedNumber(msg);
|
||||||
if(input_set == SET_RX)
|
if(input_set == SET_RX)
|
||||||
{
|
{
|
||||||
if(input_position == 0)
|
if(input_position == 1)
|
||||||
new_rx_frequency = 0;
|
new_rx_frequency = 0;
|
||||||
// Calculate portion of the new RX frequency
|
// Calculate portion of the new RX frequency
|
||||||
new_rx_frequency += input_number *
|
new_rx_frequency += input_number *
|
||||||
|
|
@ -670,7 +670,7 @@ void ui_updateFSM(event_t event, bool *sync_rtx)
|
||||||
}
|
}
|
||||||
else if(input_set == SET_TX)
|
else if(input_set == SET_TX)
|
||||||
{
|
{
|
||||||
if(input_position == 0)
|
if(input_position == 1)
|
||||||
new_tx_frequency = 0;
|
new_tx_frequency = 0;
|
||||||
// Calculate portion of the new TX frequency
|
// Calculate portion of the new TX frequency
|
||||||
new_tx_frequency += input_number *
|
new_tx_frequency += input_number *
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue