mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Revert changes related to RescueOps
This commit is contained in:
1 parent
bbbc553064
commit
2e6dfe3bc7
2 files changed
-18
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user