0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +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

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++)
{