mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-06-21 14:32:03 +00:00
Merge pull request #3113 from jbrazio/bugfix/3061-stop-print-time-counter
Stop print timer with M105/M109
This commit is contained in:
commit
06332f20be
5 changed files with 79 additions and 16 deletions
Marlin
|
@ -1134,6 +1134,9 @@ void disable_all_heaters() {
|
|||
for (int i = 0; i < EXTRUDERS; i++) setTargetHotend(0, i);
|
||||
setTargetBed(0);
|
||||
|
||||
// If all heaters go down then for sure our print job has stopped
|
||||
print_job_stop(true);
|
||||
|
||||
#define DISABLE_HEATER(NR) { \
|
||||
setTargetHotend(NR, 0); \
|
||||
soft_pwm[NR] = 0; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue