Fix printing time being shown without `M73` gcode

Adjust estimated times only if speed is changed. Printing time has to stay printing time.
This commit is contained in:
3d-gussner 2021-02-10 08:59:31 +01:00
parent d063ffb141
commit 4998cfb70d
1 changed files with 5 additions and 1 deletions

View File

@ -718,8 +718,12 @@ void lcdui_print_time(void)
print_t = print_tr;
suff = 'R';
}
else
{
print_t = _millis() / 60000 - starttime / 60000;
}
if (feedmultiply != 100)
if (feedmultiply != 100 && (print_tc != 0 || print_tr !=0))
{
suff_doubt = '?';
print_t = 100ul * print_t / feedmultiply;