add 'print-time' as alias for 'time' in gcode macros. fixes #118

This commit is contained in:
Stewart Allen 2021-02-27 15:15:43 -05:00
commit d3331c9b88

View file

@ -593,8 +593,9 @@
append(`M808`);
}
subst.time = UTIL.round(time,2);
subst.material = UTIL.round(emitted,2);
subst.time = UTIL.round(time,2);
subst['print-time'] = subst.time;
append("; --- shutdown ---");
appendAllSub(device.gcodePost);