🚸 Fix and improve MKS LVGL UI (#22783)
Co-authored-by: makerbase <4164049@qq.com> Co-authored-by: MKS-Sean <56996910+MKS-Sean@users.noreply.github.com> Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@@ -714,7 +714,7 @@ void disp_assets_update_progress(const char *msg) {
|
||||
char buf[30];
|
||||
memset(buf, ' ', COUNT(buf));
|
||||
strncpy(buf, msg, strlen(msg));
|
||||
buf[COUNT(buf)-1] = '\0';
|
||||
buf[COUNT(buf) - 1] = '\0';
|
||||
disp_string(100, 165, buf, 0xFFFF, 0x0000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user