diff --git a/openrtx/src/ui.c b/openrtx/src/ui.c index 9f74956c..06f7bcb3 100644 --- a/openrtx/src/ui.c +++ b/openrtx/src/ui.c @@ -575,7 +575,9 @@ void ui_updateFSM(event_t event, bool *sync_rtx) if(input_position >= (FREQ_DIGITS - 1)) { // Save inserted frequency + freq_t offset = state.channel.rx_frequency - state.channel.tx_frequency; state.channel.rx_frequency = new_rx_frequency; + state.channel.tx_frequency = new_rx_frequency + offset; state.ui_screen = VFO_MAIN; } }