chiark / gitweb /
Made "stop heating wait" optional.
authorErik van der Zalm <erik@vdzalm.eu>
Mon, 6 Feb 2012 19:13:44 +0000 (20:13 +0100)
committerErik van der Zalm <erik@vdzalm.eu>
Mon, 6 Feb 2012 19:13:44 +0000 (20:13 +0100)
Default off.

Marlin/Configuration.h
Marlin/cardreader.pde

index 49721cc193d4387049f61044b7eae4bbade2b376..2a0614787e85eb91c96a6309aae44d0a4d388540 100644 (file)
 // Heating is finished if a temperature close to this degree shift is reached
 #define HEATING_EARLY_FINISH_DEG_OFFSET 1 //Degree
 
+//Do not wait for M109 to finish when printing from SD card
+//#define STOP_HEATING_WAIT_WHEN_SD_PRINTING
+
 // PID settings:
 // Uncomment the following line to enable PID support.
 #define PIDTEMP
index a1f23ce068f23ea986e93b8c375f423dca812dc6..2fefbcf535634d9f26468ead8df9051dceb70163 100644 (file)
@@ -444,7 +444,9 @@ void CardReader::printingHasFinished()
  st_synchronize();
  quickStop();
  sdprinting = false;
+ #ifdef STOP_HEATING_WAIT_FOR_SD_PRINTING
  stop_heating_wait=true;
+ #endif
  if(SD_FINISHED_STEPPERRELEASE)
  {
    //finishAndDisableSteppers();