Enable A/B long press on RescueOps

This commit is contained in:
Armel FAUVEAU
2024-11-26 14:32:04 +01:00
parent 838253dfa1
commit 1e79500fa4
2 changed files with 14 additions and 7 deletions

View File

@@ -86,6 +86,13 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep)
#ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS
if(gEeprom.MENU_LOCK == true) {
if(Key == 2) { // Enable A/B only
gVfoConfigureMode = VFO_CONFIGURE;
COMMON_SwitchVFOs();
if (beep)
gBeepToPlay = BEEP_1KHZ_60MS_OPTIONAL;
}
return; // prevent F function if MENU LOCK is true
}
#endif