瀏覽代碼

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…
取消
儲存