ソースを参照

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
コミッターのメールアドレスに関連付けられたアカウントが存在しません
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
       }

読み込み中…
キャンセル
保存