Enable A/B long press on RescueOps
This commit is contained in:
@@ -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
|
||||
|
14
ui/main.c
14
ui/main.c
@@ -1479,10 +1479,10 @@ void UI_DisplayMain(void)
|
||||
}
|
||||
|
||||
#ifdef ENABLE_FEAT_F4HWN
|
||||
#ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS
|
||||
if(gEeprom.MENU_LOCK == false)
|
||||
{
|
||||
#endif
|
||||
//#ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS
|
||||
//if(gEeprom.MENU_LOCK == false)
|
||||
//{
|
||||
//#endif
|
||||
if (isMainOnly() && !gDTMF_InputMode)
|
||||
{
|
||||
sprintf(String, "VFO %s", activeTxVFO ? "B" : "A");
|
||||
@@ -1492,9 +1492,9 @@ void UI_DisplayMain(void)
|
||||
gFrameBuffer[6][i] ^= 0x7F;
|
||||
}
|
||||
}
|
||||
#ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS
|
||||
}
|
||||
#endif
|
||||
//#ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS
|
||||
//}
|
||||
//#endif
|
||||
#endif
|
||||
|
||||
ST7565_BlitFullScreen();
|
||||
|
Reference in New Issue
Block a user