add 'print-time' as alias for 'time' in gcode macros. fixes #118
This commit is contained in:
parent
5d601cf1fe
commit
d3331c9b88
1 changed files with 2 additions and 1 deletions
|
|
@ -593,8 +593,9 @@
|
||||||
append(`M808`);
|
append(`M808`);
|
||||||
}
|
}
|
||||||
|
|
||||||
subst.time = UTIL.round(time,2);
|
|
||||||
subst.material = UTIL.round(emitted,2);
|
subst.material = UTIL.round(emitted,2);
|
||||||
|
subst.time = UTIL.round(time,2);
|
||||||
|
subst['print-time'] = subst.time;
|
||||||
|
|
||||||
append("; --- shutdown ---");
|
append("; --- shutdown ---");
|
||||||
appendAllSub(device.gcodePost);
|
appendAllSub(device.gcodePost);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue