Made "stop heating wait" optional.

Default off.
This commit is contained in:
Erik van der Zalm 2012-02-06 20:13:44 +01:00
parent 292ddd2edb
commit f9c5333f97
2 changed files with 5 additions and 0 deletions

View File

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

View 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();