mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-03 03:27:28 +00:00
Key 5, long press - toggle scan list, F + short press - spectrum
This commit is contained in:
1 parent
339e280a27
commit
b301a8d21e
2 files changed
+7
-3
No files matched your search
@@ -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
|
||||
|
||||
+5
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user