소스 검색

Fix insane mmu2 timeout (#21855)

* Fix insane mmu2 timeout

Fix insane timeout value. Now match original Prusa firmware.

* Update mmu2.cpp

Co-authored-by: Luu Lac <45380455+shitcreek@users.noreply.github.com>
Giuliano Zaro 3 년 전
부모
커밋
fff5e9ba4a
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/feature/mmu/mmu2.cpp

+ 1
- 1
Marlin/src/feature/mmu/mmu2.cpp 파일 보기

@@ -159,7 +159,7 @@ void MMU2::mmu_loop() {
159 159
         MMU2_COMMAND("S1");   // Read Version
160 160
         state = -2;
161 161
       }
162
-      else if (millis() > 3000000) {
162
+      else if (millis() > 30000) { // 30sec after reset disable MMU
163 163
         SERIAL_ECHOLNPGM("MMU not responding - DISABLED");
164 164
         state = 0;
165 165
       }

Loading…
취소
저장