Explorar o código

serial_dump_and_reset: turn on print fan while dumping

To avoid scorching the sheet while dumping close to the bed.
Yuri D'Elia %!s(int64=2) %!d(string=hai) anos
pai
achega
7db667ca86
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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