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:
parent
c51a002905
commit
f3cf9b755f
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -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++)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user