Fix Estimation String Macro

This commit is contained in:
Robby Candra 2019-10-22 08:16:29 +07:00
parent 52a8bbefcf
commit d64ab63026

View File

@ -405,8 +405,10 @@ void MarlinUI::draw_status_screen() {
#if ENABLED(DOGM_SD_PERCENT) #if ENABLED(DOGM_SD_PERCENT)
if (progress == 0) { if (progress == 0) {
progress_string[0] = '\0'; progress_string[0] = '\0';
estimation_string[0] = '\0'; #if ENABLED(SHOW_REMAINING_TIME)
estimation_x_pos = _PROGRESS_CENTER_X(0); estimation_string[0] = '\0';
estimation_x_pos = _SD_DURATION_X(0);
#endif
} }
else { else {
strcpy(progress_string, ( strcpy(progress_string, (