Made "stop heating wait" optional.
Default off.
This commit is contained in:
parent
292ddd2edb
commit
f9c5333f97
2 changed files with 5 additions and 0 deletions
|
@ -104,6 +104,9 @@
|
||||||
// Heating is finished if a temperature close to this degree shift is reached
|
// Heating is finished if a temperature close to this degree shift is reached
|
||||||
#define HEATING_EARLY_FINISH_DEG_OFFSET 1 //Degree
|
#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:
|
// PID settings:
|
||||||
// Uncomment the following line to enable PID support.
|
// Uncomment the following line to enable PID support.
|
||||||
#define PIDTEMP
|
#define PIDTEMP
|
||||||
|
|
|
@ -444,7 +444,9 @@ void CardReader::printingHasFinished()
|
||||||
st_synchronize();
|
st_synchronize();
|
||||||
quickStop();
|
quickStop();
|
||||||
sdprinting = false;
|
sdprinting = false;
|
||||||
|
#ifdef STOP_HEATING_WAIT_FOR_SD_PRINTING
|
||||||
stop_heating_wait=true;
|
stop_heating_wait=true;
|
||||||
|
#endif
|
||||||
if(SD_FINISHED_STEPPERRELEASE)
|
if(SD_FINISHED_STEPPERRELEASE)
|
||||||
{
|
{
|
||||||
//finishAndDisableSteppers();
|
//finishAndDisableSteppers();
|
||||||
|
|
Reference in a new issue