FIx Estimation String Pos
This commit is contained in:
parent
d64ab63026
commit
2c42526763
@ -436,7 +436,7 @@ void MarlinUI::draw_status_screen() {
|
|||||||
duration_t estimation = elapsed.value * (100 * (PROGRESS_SCALE) - progress) / progress;
|
duration_t estimation = elapsed.value * (100 * (PROGRESS_SCALE) - progress) / progress;
|
||||||
if (estimation.value == 0) {
|
if (estimation.value == 0) {
|
||||||
estimation_string[0] = '\0';
|
estimation_string[0] = '\0';
|
||||||
estimation_x_pos = _PROGRESS_CENTER_X(0);
|
estimation_x_pos = _SD_DURATION_X(0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
const bool has_days = (estimation.value >= 60*60*24L);
|
const bool has_days = (estimation.value >= 60*60*24L);
|
||||||
|
Loading…
Reference in New Issue
Block a user