mirror of
https://github.com/egzumer/uv-k5-firmware-custom
synced 2024-11-22 09:44:12 +00:00
keypad-5 scanlist toggle fixed
This commit is contained in:
parent
b02d46f66a
commit
4a0a5a9589
@ -42,6 +42,7 @@ ENABLE_AUDIO_BAR := 0 experimental, display an audo bar level
|
||||
* Finer RSSI bar steps
|
||||
* Mic menu includes max gain possible
|
||||
* AM RX everywhere
|
||||
* keypad-5/NOAA button now toggles scanlist-1 on/off for current channel when held down - IF NOAA is not used
|
||||
* Better backlight times (inc always on)
|
||||
* Nicer/cleaner big numeric font than original Quansheng big numeric font
|
||||
* Live DTMF decoder option, though the decoder needs some coeff tuning changes to decode other radios it seems
|
||||
|
11
app/main.c
11
app/main.c
@ -204,10 +204,13 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep)
|
||||
gRequestDisplayScreen = gScreenToDisplay;
|
||||
#else
|
||||
// toggle scanlist-1
|
||||
gTxVfo->SCANLIST1_PARTICIPATION = gTxVfo->SCANLIST1_PARTICIPATION ? 0 : 1;
|
||||
SETTINGS_UpdateChannel(gTxVfo->CHANNEL_SAVE, gTxVfo, true);
|
||||
gVfoConfigureMode = VFO_CONFIGURE_1;
|
||||
gFlagResetVfos = true;
|
||||
if (gScreenToDisplay != DISPLAY_SCANNER)
|
||||
{
|
||||
gTxVfo->SCANLIST1_PARTICIPATION = gTxVfo->SCANLIST1_PARTICIPATION ? 0 : 1;
|
||||
SETTINGS_UpdateChannel(gTxVfo->CHANNEL_SAVE, gTxVfo, true);
|
||||
gVfoConfigureMode = VFO_CONFIGURE_1;
|
||||
gFlagResetVfos = true;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
break;
|
||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user