Browse Source

serial_dump_and_reset: turn on print fan while dumping

To avoid scorching the sheet while dumping close to the bed.
Yuri D'Elia 3 years ago
parent
commit
7db667ca86
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Firmware/Dcodes.cpp

+ 1 - 0
Firmware/Dcodes.cpp

@@ -976,6 +976,7 @@ void serial_dump_and_reset(dump_crash_reason reason)
     // we're being called from a live state, so shut off interrupts and heaters
     cli();
     wdt_enable(WDTO_15MS);
+    WRITE(FAN_PIN, HIGH);
     disable_heater();
 
     // this function can also be called from within a corrupted state, so not use