0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

Updated DTMF to full char range

This commit is contained in:
OneOfEleven
2023-10-11 20:44:35 +01:00
parent 6374160045
commit 04f9262635
6 changed files with 58 additions and 17 deletions

View File

@ -380,6 +380,8 @@ static void FM_Key_DIGITS(key_code_t Key, bool key_pressed, bool key_held)
static void FM_Key_STAR(bool key_pressed, bool key_held)
{
g_key_input_count_down = key_input_timeout_500ms;
if (key_held && !key_pressed)
return;
@ -392,6 +394,8 @@ static void FM_Key_STAR(bool key_pressed, bool key_held)
static void FM_Key_EXIT(bool key_pressed, bool key_held)
{
g_key_input_count_down = key_input_timeout_500ms;
if (key_held || key_pressed)
return;
@ -451,6 +455,8 @@ static void FM_Key_MENU(bool key_pressed, bool key_held)
unsigned int i;
int channel = -1;
g_key_input_count_down = key_input_timeout_500ms;
if (key_held || key_pressed)
return;
@ -518,6 +524,8 @@ static void FM_Key_MENU(bool key_pressed, bool key_held)
static void FM_Key_UP_DOWN(bool key_pressed, bool key_held, int8_t Step)
{
g_key_input_count_down = key_input_timeout_500ms;
if (key_held || !key_pressed)
{
if (g_input_box_index > 0)