mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-24 16:38:34 -07:00
Update DisplayInfoOnLCD.py
It turns out that some firmware doesn't like colons within M118 commands.
This commit is contained in:
parent
6152306217
commit
e63243bca8
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ class DisplayInfoOnLCD(Script):
|
|||
orig_hr = round(orig_hhh // 1)
|
||||
orig_mmm = math.floor((orig_hhh % 1) * 60)
|
||||
if self.add_m118_line:
|
||||
lines.insert(len(lines) - 2, f"M118 Adjusted Print Time: {hr} hr {mmm} min")
|
||||
lines.insert(len(lines) - 2, f"M118 Adjusted Print Time is {hr} hr {mmm} min")
|
||||
if self.add_m117_line:
|
||||
lines.insert(len(lines) - 2, f"M117 ET {hr} hr {mmm} min")
|
||||
# Add M73 line at beginning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue