FIx Estimation String Pos

This commit is contained in:
Robby Candra 2019-10-22 10:01:58 +07:00
parent d64ab63026
commit 2c42526763

View file

@ -436,7 +436,7 @@ void MarlinUI::draw_status_screen() {
duration_t estimation = elapsed.value * (100 * (PROGRESS_SCALE) - progress) / progress;
if (estimation.value == 0) {
estimation_string[0] = '\0';
estimation_x_pos = _PROGRESS_CENTER_X(0);
estimation_x_pos = _SD_DURATION_X(0);
}
else {
const bool has_days = (estimation.value >= 60*60*24L);