mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:19:01 +08:00
Accept Griffin-style time estimation header
Otherwise it doesn't work for those printers. Contributes to issue CURA-7787.
This commit is contained in:
parent
7cf2ebe441
commit
0787594a3d
@ -77,7 +77,7 @@ class DisplayProgressOnLCD(Script):
|
||||
current_time_string = "{:d}h{:02d}m{:02d}s".format(int(h), int(m), int(s))
|
||||
# And now insert that into the GCODE
|
||||
lines.insert(line_index, "M117 Time Left {}".format(current_time_string))
|
||||
else: # Must be m73.
|
||||
else:
|
||||
mins = int(60 * h + m + s / 30)
|
||||
lines.insert(line_index, "M73 R{}".format(mins))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user