Browse Source

FIx Estimation String Pos

Robby Candra 5 years ago
parent
commit
2c42526763
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/dogm/status_screen_DOGM.cpp

+ 1
- 1
Marlin/src/lcd/dogm/status_screen_DOGM.cpp View File

436
             duration_t estimation = elapsed.value * (100 * (PROGRESS_SCALE) - progress) / progress;
436
             duration_t estimation = elapsed.value * (100 * (PROGRESS_SCALE) - progress) / progress;
437
             if (estimation.value == 0) {
437
             if (estimation.value == 0) {
438
               estimation_string[0] = '\0';
438
               estimation_string[0] = '\0';
439
-              estimation_x_pos = _PROGRESS_CENTER_X(0);
439
+              estimation_x_pos = _SD_DURATION_X(0);
440
             }
440
             }
441
             else {
441
             else {
442
               const bool has_days = (estimation.value >= 60*60*24L);
442
               const bool has_days = (estimation.value >= 60*60*24L);

Loading…
Cancel
Save