Don't show prefix if no elapsed time
This commit is contained in:
parent
bf850827f7
commit
7af99d03d3
@ -597,7 +597,7 @@ void MarlinUI::draw_status_screen() {
|
|||||||
lcd_put_wchar(PROGRESS_BAR_X, EXTRAS_BASELINE, SHOW_REMAINING_TIME_PREFIX);
|
lcd_put_wchar(PROGRESS_BAR_X, EXTRAS_BASELINE, SHOW_REMAINING_TIME_PREFIX);
|
||||||
lcd_put_u8str(estimation_x_pos, EXTRAS_BASELINE, estimation_string);
|
lcd_put_u8str(estimation_x_pos, EXTRAS_BASELINE, estimation_string);
|
||||||
}
|
}
|
||||||
else {
|
else if (elapsed_string[0] != '\0'){
|
||||||
lcd_put_wchar(PROGRESS_BAR_X, EXTRAS_BASELINE, ELAPSED_TIME_PREFIX);
|
lcd_put_wchar(PROGRESS_BAR_X, EXTRAS_BASELINE, ELAPSED_TIME_PREFIX);
|
||||||
lcd_put_u8str(elapsed_x_pos, EXTRAS_BASELINE, elapsed_string);
|
lcd_put_u8str(elapsed_x_pos, EXTRAS_BASELINE, elapsed_string);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user