0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-28 14:21:25 +03:00

Menu pixel shift update

This commit is contained in:
OneOfEleven 2023-10-25 14:42:06 +01:00
parent c51a002905
commit f3cf9b755f
4 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -76,7 +76,7 @@ void UI_PrintString(const char *pString, uint8_t Start, uint8_t End, uint8_t Lin
size_t Length = strlen(pString);
if (End > Start)
Start += (((End - Start) - (Length * Width)) + 1) / 2;
Start += ((End - Start) - (Length * Width)) / 2;
for (i = 0; i < Length; i++)
{

View File

@ -783,7 +783,7 @@ void UI_DisplayMain(void)
UI_PrintStringSmallest(str, x, (line + 0) * 8, false, true);
}
}
x += (smallest_char_spacing * 4) - 1;
x += smallest_char_spacing * 4;
if (g_eeprom.vfo_info[vfo_num].compand)
UI_PrintStringSmallest("C", x, (line + 0) * 8, false, true);