Improve frequency input
This commit is contained in:
@@ -427,7 +427,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 / 5); // short time...
|
gKeyInputCountdown = (key_input_timeout_500ms / 4); // short time...
|
||||||
|
|
||||||
#ifdef ENABLE_VOICE
|
#ifdef ENABLE_VOICE
|
||||||
gAnotherVoiceID = (VOICE_ID_t)Key;
|
gAnotherVoiceID = (VOICE_ID_t)Key;
|
||||||
@@ -455,7 +455,7 @@ static void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
gKeyInputCountdown = (key_input_timeout_500ms / 5); // short time...
|
gKeyInputCountdown = (gInputBoxIndex == totalDigits) ? (key_input_timeout_500ms / 16) : (key_input_timeout_500ms / 4);
|
||||||
|
|
||||||
const char *inputStr = INPUTBOX_GetAscii();
|
const char *inputStr = INPUTBOX_GetAscii();
|
||||||
uint8_t inputLength = gInputBoxIndex;
|
uint8_t inputLength = gInputBoxIndex;
|
||||||
|
Reference in New Issue
Block a user