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

Fix F+* and F+4 search bug - wiping out radios sram :(

This commit is contained in:
OneOfEleven
2023-10-26 10:48:32 +01:00
parent 8c8c183490
commit 4397931cfb
9 changed files with 49 additions and 58 deletions

View File

@ -749,28 +749,6 @@ void UI_DisplayMain(void)
{ // frequency mode
#ifdef ENABLE_BIG_FREQ
big_freq(frequency, x, line);
/*
NUMBER_ToDigits(frequency, str); // 8 digits
// show the main large frequency digits
UI_DisplayFrequency(str, x, line, false, false);
// show the remaining 2 small frequency digits
#ifdef ENABLE_TRIM_TRAILING_ZEROS
{
unsigned int small_num = 2;
if (str[7] == 0)
{
small_num--;
if (str[6] == 0)
small_num--;
}
UI_Displaysmall_digits(small_num, str + 6, x + 81, line + 1, true);
}
#else
UI_Displaysmall_digits(2, str + 6, x + 81, line + 1, true);
#endif
*/
#else
// show the frequency in the main font