浏览代码

Made "stop heating wait" optional.

Default off.
Erik van der Zalm 12 年前
父节点
当前提交
f9c5333f97
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 3
    0
      Marlin/Configuration.h
  2. 2
    0
      Marlin/cardreader.pde

+ 3
- 0
Marlin/Configuration.h 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存