Key 5, long press - toggle scan list, F + short press - spectrum

This commit is contained in:
Krzysiek Egzmont
2023-10-03 18:54:37 +02:00
parent 339e280a27
commit b301a8d21e
2 changed files with 7 additions and 3 deletions

View File

@@ -29,7 +29,8 @@ ENABLE_CODE_SCAN_TIMEOUT := 0
ENABLE_AM_FIX := 1
ENABLE_AM_FIX_SHOW_DATA := 0
ENABLE_SQUELCH_LOWER := 0
ENABLE_FASTER_CHANNEL_SCAN := 1ENABLE_RSSI_BAR := 1
ENABLE_FASTER_CHANNEL_SCAN := 1
ENABLE_RSSI_BAR := 1
ENABLE_AUDIO_BAR := 1
ENABLE_SPECTRUM := 1
#ENABLE_COPY_CHAN_TO_VFO := 1

View File

@@ -167,6 +167,7 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep)
break;
case KEY_5:
if(beep) {
#ifdef ENABLE_NOAA
if (IS_NOT_NOAA_CHANNEL(gTxVfo->CHANNEL_SAVE))
{
@@ -184,7 +185,9 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep)
#elif defined(ENABLE_SPECTRUM)
APP_RunSpectrum();
gRequestDisplayScreen = DISPLAY_MAIN;
#else
#endif
}
else {
// toggle scanlist-1 and scanlist 2
if (gScreenToDisplay != DISPLAY_SCANNER)
{
@@ -206,7 +209,7 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep)
gVfoConfigureMode = VFO_CONFIGURE;
gFlagResetVfos = true;
}
#endif
}
break;
case KEY_6: