0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-06-21 14:32:03 +00:00

Merge pull request from jbrazio/bugfix/3061-stop-print-time-counter

Stop print timer with M105/M109
This commit is contained in:
Scott Lahteine 2016-03-20 17:05:07 -07:00
commit 06332f20be
5 changed files with 79 additions and 16 deletions

View file

@ -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; \