mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue