mirror of
https://github.com/kamilsss655/uv-k5-firmware-custom
synced 2024-11-21 17:57:59 +00:00
Rename to help me better remember/understand
This commit is contained in:
parent
f0ad919418
commit
bf12719158
@ -2305,8 +2305,8 @@ Skip:
|
||||
{
|
||||
SETTINGS_SaveChannel(gTxVfo->CHANNEL_SAVE, gEeprom.TX_CHANNEL, gTxVfo, gRequestSaveChannel);
|
||||
if (gScreenToDisplay != DISPLAY_SCANNER)
|
||||
if (gVfoConfigureMode == VFO_CONFIGURE_0)
|
||||
gVfoConfigureMode = VFO_CONFIGURE_1;
|
||||
if (gVfoConfigureMode == VFO_CONFIGURE_NONE)
|
||||
gVfoConfigureMode = VFO_CONFIGURE;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2318,7 +2318,7 @@ Skip:
|
||||
gRequestSaveChannel = 0;
|
||||
}
|
||||
|
||||
if (gVfoConfigureMode != VFO_CONFIGURE_0)
|
||||
if (gVfoConfigureMode != VFO_CONFIGURE_NONE)
|
||||
{
|
||||
if (gFlagResetVfos)
|
||||
{
|
||||
@ -2332,7 +2332,7 @@ Skip:
|
||||
gRequestDisplayScreen = DISPLAY_MAIN;
|
||||
|
||||
gFlagReconfigureVfos = true;
|
||||
gVfoConfigureMode = VFO_CONFIGURE_0;
|
||||
gVfoConfigureMode = VFO_CONFIGURE_NONE;
|
||||
gFlagResetVfos = false;
|
||||
}
|
||||
|
||||
|
@ -182,7 +182,7 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep)
|
||||
{
|
||||
gTxVfo->SCANLIST1_PARTICIPATION = gTxVfo->SCANLIST1_PARTICIPATION ? 0 : 1;
|
||||
SETTINGS_UpdateChannel(gTxVfo->CHANNEL_SAVE, gTxVfo, true);
|
||||
gVfoConfigureMode = VFO_CONFIGURE_1;
|
||||
gVfoConfigureMode = VFO_CONFIGURE;
|
||||
gFlagResetVfos = true;
|
||||
}
|
||||
#endif
|
||||
|
@ -317,7 +317,7 @@ void MENU_AcceptSetting(void)
|
||||
|
||||
case MENU_SQL:
|
||||
gEeprom.SQUELCH_LEVEL = gSubMenuSelection;
|
||||
gVfoConfigureMode = VFO_CONFIGURE_1;
|
||||
gVfoConfigureMode = VFO_CONFIGURE;
|
||||
break;
|
||||
|
||||
case MENU_STEP:
|
||||
@ -512,14 +512,14 @@ void MENU_AcceptSetting(void)
|
||||
case MENU_S_ADD1:
|
||||
gTxVfo->SCANLIST1_PARTICIPATION = gSubMenuSelection;
|
||||
SETTINGS_UpdateChannel(gTxVfo->CHANNEL_SAVE, gTxVfo, true);
|
||||
gVfoConfigureMode = VFO_CONFIGURE_1;
|
||||
gVfoConfigureMode = VFO_CONFIGURE;
|
||||
gFlagResetVfos = true;
|
||||
return;
|
||||
|
||||
case MENU_S_ADD2:
|
||||
gTxVfo->SCANLIST2_PARTICIPATION = gSubMenuSelection;
|
||||
SETTINGS_UpdateChannel(gTxVfo->CHANNEL_SAVE, gTxVfo, true);
|
||||
gVfoConfigureMode = VFO_CONFIGURE_1;
|
||||
gVfoConfigureMode = VFO_CONFIGURE;
|
||||
gFlagResetVfos = true;
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user