From: Erik van der Zalm Date: Mon, 6 Feb 2012 19:13:44 +0000 (+0100) Subject: Made "stop heating wait" optional. X-Git-Tag: iwj-success-2012-07-29~122 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f9c5333f97c2533066d4ccbe2479a5ee09b05058;p=marlin.git Made "stop heating wait" optional. Default off. --- diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 49721cc..2a06147 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -104,6 +104,9 @@ // 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 diff --git a/Marlin/cardreader.pde b/Marlin/cardreader.pde index a1f23ce..2fefbcf 100644 --- a/Marlin/cardreader.pde +++ b/Marlin/cardreader.pde @@ -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();