Fix #286: Lack of continuous tuning and monitor lockout while holding up/down button in monitor mode.
This commit is contained in:
@@ -1590,10 +1590,9 @@ static void ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
|
||||
SETTINGS_SaveChannel(gTxVfo->CHANNEL_SAVE, gEeprom.TX_VFO, gTxVfo, flagSaveChannel);
|
||||
flagSaveChannel = false;
|
||||
|
||||
RADIO_ConfigureChannel(gEeprom.TX_VFO, VFO_CONFIGURE);
|
||||
RADIO_SetupRegisters(true);
|
||||
|
||||
GUI_SelectNextDisplay(DISPLAY_MAIN);
|
||||
if (!SCANNER_IsScanning() && gVfoConfigureMode == VFO_CONFIGURE_NONE)
|
||||
// gVfoConfigureMode is so as we don't wipe out previously setting this variable elsewhere
|
||||
gVfoConfigureMode = VFO_CONFIGURE;
|
||||
}
|
||||
}
|
||||
else { // key pressed or held
|
||||
|
@@ -639,6 +639,8 @@ static void MAIN_Key_UP_DOWN(bool bKeyPressed, bool bKeyHeld, int8_t Direction)
|
||||
return;
|
||||
}
|
||||
gTxVfo->freq_config_RX.Frequency = frequency;
|
||||
BK4819_SetFrequency(frequency);
|
||||
BK4819_RX_TurnOn();
|
||||
gRequestSaveChannel = 1;
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user