Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[BUG] "Printing..." never ends if the print was done over USB. #16893
Prints done over USB never "finish" from Marlin's perspective. That is to say, the object completes just fine, all the way through the last commands in my slicer's "end" g-code. But, Marlin still thinks a print is going, i.e. it says "Printing..." on the display, instead of "xxxx ready", and the menus' contents are rearranged accordingly.
Here's the end g-code my prints normally use:
G92 E0 G91 G1 E-2 F4800 G90 G92 E0 G1 X0 Y200 F15000 G1 Z272 F12000 M104 S0 M140 S0 M107 M84
I am not sure when it broke, except that it was reasonably recent (say, within the past few months).
While writing this issue, I kept trying to find some way to "clear" this confused state, and found that clicking my custom "all off" button twice in a row (with a brief pause in between) seems to work. That button executes these commands:
M104 S0 M140 S0 M107 M84 XYE
But aside from the
Normally, I'd just ignore this, but aside from it triggering my OCD
Steps to Reproduce
Marlin should switch back to its "ready" state when the host stops sending data (other than e.g.
Marlin just stays in its "Printing..." state, even hours after a print ends and the entire machine has cooled back down to room temperature.