0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-29 06:41:25 +03:00
This commit is contained in:
OneOfEleven 2023-11-21 12:55:55 +00:00
parent 901fbbfb12
commit 0c1eeb0e92
3 changed files with 8 additions and 4 deletions

View File

@ -567,6 +567,10 @@ void MAIN_Key_DIGITS(key_code_t Key, bool key_pressed, bool key_held)
g_request_save_vfo = true;
g_vfo_configure_mode = VFO_CONFIGURE_RELOAD;
#ifdef ENABLE_PANADAPTER
PAN_restart(true);
#endif
g_update_display = true;
return;
}
@ -578,10 +582,6 @@ void MAIN_Key_DIGITS(key_code_t Key, bool key_pressed, bool key_held)
NUMBER_Get(g_input_box, &freq);
#if defined(ENABLE_UART) && defined(ENABLE_UART_DEBUG)
// UART_printf("key3 %u %u\r\n", freq, g_input_box_index);
#endif
// if (g_input_box_index < 6)
// if (g_input_box_index < 7)
if (g_input_box_index < 8)
@ -645,6 +645,10 @@ void MAIN_Key_DIGITS(key_code_t Key, bool key_pressed, bool key_held)
g_request_save_channel = 1;
g_vfo_configure_mode = VFO_CONFIGURE;
#ifdef ENABLE_PANADAPTER
PAN_restart(true);
#endif
g_update_display = true;
return;
}

Binary file not shown.

Binary file not shown.