Revert changes related to RescueOps

This commit is contained in:
mrkusypl committed 2026-03-25 19:22:23 +01:00
1 parent bbbc553064
commit 2e6dfe3bc7
2 files changed
-18

No files matched your search

-17
View File
@@ -360,23 +360,6 @@ void ACTION_Handle(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
// held or released after short press beyond this point
#ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS
if(gEeprom.MENU_LOCK) { // do not run these actions in RescueOps mode
switch (func) {
case ACTION_OPT_SCAN:
case ACTION_OPT_VFO_MR:
#ifdef ENABLE_FMRADIO
case ACTION_OPT_FM:
#endif
return;
break;
default:
break;
}
}
#endif
#ifdef ENABLE_FMRADIO
if (gFmRadioMode) { // do not run these actions in FM radio mode
switch (func) {
-1
View File
@@ -129,7 +129,6 @@ void Main(void)
if (BootMode == BOOT_MODE_RESCUE_OPS)
{
gEeprom.MENU_LOCK = !gEeprom.MENU_LOCK;
gEeprom.CURRENT_STATE = 0; // Don't resume is active...
SETTINGS_SaveSettings();
}