소스 검색

Merge pull request #4516 from thinkyhead/rc_short_prints_quiet

Only report finished prints longer than 1 min
Scott Lahteine 8 년 전
부모
커밋
704ae1b737
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      Marlin/cardreader.cpp

+ 2
- 1
Marlin/cardreader.cpp 파일 보기

@@ -616,7 +616,8 @@ void CardReader::printingHasFinished() {
616 616
     if (SD_FINISHED_STEPPERRELEASE)
617 617
       enqueue_and_echo_commands_P(PSTR(SD_FINISHED_RELEASECOMMAND));
618 618
     print_job_timer.stop();
619
-    enqueue_and_echo_commands_P(PSTR("M31"));
619
+    if (print_job_timer.duration() > 60)
620
+      enqueue_and_echo_commands_P(PSTR("M31"));
620 621
   }
621 622
 }
622 623
 

Loading…
취소
저장