keypad-5 scanlist toggle fixed

This commit is contained in:
OneOfEleven 2023-09-21 12:21:25 +01:00
parent b02d46f66a
commit 4a0a5a9589
5 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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

Binary file not shown.

Binary file not shown.

Binary file not shown.