Browse Source

Fix Estimation String Macro

pull/1/head
Robby Candra 5 years ago
parent
commit
d64ab63026
  1. 6
      Marlin/src/lcd/dogm/status_screen_DOGM.cpp

6
Marlin/src/lcd/dogm/status_screen_DOGM.cpp

@ -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, (

Loading…
Cancel
Save