Improve channel input

This commit is contained in:
Armel FAUVEAU
2024-06-29 20:27:47 +02:00
parent 32daef5571
commit 0dc01d590b

View File

@@ -336,9 +336,12 @@ void channelMove(uint16_t Channel, bool End)
gEeprom.MrChannel[Vfo] = (uint8_t)Channel; gEeprom.MrChannel[Vfo] = (uint8_t)Channel;
gEeprom.ScreenChannel[Vfo] = (uint8_t)Channel; gEeprom.ScreenChannel[Vfo] = (uint8_t)Channel;
gRequestSaveVFO = true; //gRequestSaveVFO = true;
gVfoConfigureMode = VFO_CONFIGURE_RELOAD; gVfoConfigureMode = VFO_CONFIGURE_RELOAD;
RADIO_ConfigureChannel(gEeprom.TX_VFO, gVfoConfigureMode);
SETTINGS_SaveVfoIndices();
return; return;
} }
@@ -375,7 +378,7 @@ static void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
if (IS_MR_CHANNEL(gTxVfo->CHANNEL_SAVE)) { // user is entering channel number if (IS_MR_CHANNEL(gTxVfo->CHANNEL_SAVE)) { // user is entering channel number
gKeyInputCountdown = (key_input_timeout_500ms / 8); // short time... gKeyInputCountdown = (key_input_timeout_500ms / 6); // short time...
if (gInputBoxIndex != 3) { if (gInputBoxIndex != 3) {
#ifdef ENABLE_VOICE #ifdef ENABLE_VOICE