mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 22:58:04 +03:00
Use memcpy() instead of memmove() when it's possible (two memmove call were kept).
Rename some variable named 'String' (to 'str') which is quite confusing.
This commit is contained in:
@ -81,7 +81,7 @@ void UI_DisplayWelcome(void)
|
||||
EEPROM_ReadBuffer(0x0EC0, str1, 16);
|
||||
}
|
||||
|
||||
memmove(str2, Version_str, slen);
|
||||
memcpy(str2, Version_str, slen);
|
||||
|
||||
UI_PrintString(str0, 0, LCD_WIDTH, 0, 10);
|
||||
UI_PrintString(str1, 0, LCD_WIDTH, 2, 10);
|
||||
|
Reference in New Issue
Block a user