소스 검색

No EXTRUDER_RUNOUT_PREVENT during print

Scott Lahteine 7 년 전
부모
커밋
112917cfef
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4
    2
      Marlin/src/Marlin.cpp

+ 4
- 2
Marlin/src/Marlin.cpp 파일 보기

@@ -428,8 +428,10 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
428 428
   #endif
429 429
 
430 430
   #if ENABLED(EXTRUDER_RUNOUT_PREVENT)
431
-    if (ELAPSED(ms, gcode.previous_cmd_ms + (EXTRUDER_RUNOUT_SECONDS) * 1000UL)
432
-      && thermalManager.degHotend(active_extruder) > EXTRUDER_RUNOUT_MINTEMP) {
431
+    if (thermalManager.degHotend(active_extruder) > EXTRUDER_RUNOUT_MINTEMP
432
+      && ELAPSED(ms, gcode.previous_cmd_ms + (EXTRUDER_RUNOUT_SECONDS) * 1000UL)
433
+      && !planner.blocks_queued()
434
+    ) {
433 435
       #if ENABLED(SWITCHING_EXTRUDER)
434 436
         const bool oldstatus = E0_ENABLE_READ;
435 437
         enable_E0();

Loading…
취소
저장