Browse Source

Made "stop heating wait" optional.

Default off.
Erik van der Zalm 12 years ago
parent
commit
f9c5333f97
2 changed files with 5 additions and 0 deletions
  1. 3
    0
      Marlin/Configuration.h
  2. 2
    0
      Marlin/cardreader.pde

+ 3
- 0
Marlin/Configuration.h View File

@@ -104,6 +104,9 @@
104 104
 // Heating is finished if a temperature close to this degree shift is reached
105 105
 #define HEATING_EARLY_FINISH_DEG_OFFSET 1 //Degree
106 106
 
107
+//Do not wait for M109 to finish when printing from SD card
108
+//#define STOP_HEATING_WAIT_WHEN_SD_PRINTING
109
+
107 110
 // PID settings:
108 111
 // Uncomment the following line to enable PID support.
109 112
 #define PIDTEMP

+ 2
- 0
Marlin/cardreader.pde View File

@@ -444,7 +444,9 @@ void CardReader::printingHasFinished()
444 444
  st_synchronize();
445 445
  quickStop();
446 446
  sdprinting = false;
447
+ #ifdef STOP_HEATING_WAIT_FOR_SD_PRINTING
447 448
  stop_heating_wait=true;
449
+ #endif
448 450
  if(SD_FINISHED_STEPPERRELEASE)
449 451
  {
450 452
    //finishAndDisableSteppers();

Loading…
Cancel
Save