Clean code

This commit is contained in:
Armel FAUVEAU
2024-03-23 02:33:43 +01:00
parent caaef912c4
commit d95491b73d
2 changed files with 1 additions and 4 deletions

View File

@@ -43,7 +43,7 @@
#include "ui/ui.h"
#include <stdlib.h>
void toggle_chan_scanlist(void)
static void toggle_chan_scanlist(void)
{ // toggle the selected channels scanlist setting
if (SCANNER_IsScanning())
@@ -258,13 +258,11 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep)
case KEY_UP:
gEeprom.SQUELCH_LEVEL = (gEeprom.SQUELCH_LEVEL < 9) ? gEeprom.SQUELCH_LEVEL + 1: 9;
gVfoConfigureMode = VFO_CONFIGURE;
//gRequestDisplayScreen = DISPLAY_MAIN;
gWasFKeyPressed = false;
break;
case KEY_DOWN:
gEeprom.SQUELCH_LEVEL = (gEeprom.SQUELCH_LEVEL > 0) ? gEeprom.SQUELCH_LEVEL - 1: 0;
gVfoConfigureMode = VFO_CONFIGURE;
//gRequestDisplayScreen = DISPLAY_MAIN;
gWasFKeyPressed = false;
break;

View File

@@ -436,7 +436,6 @@ void MENU_AcceptSetting(void)
if (IS_FREQ_CHANNEL(gTxVfo->CHANNEL_SAVE))
{
gRequestSaveChannel = 1;
return;
}
return;