Browse Source

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 years ago
parent
commit
fff5e9ba4a
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/mmu/mmu2.cpp

+ 1
- 1
Marlin/src/feature/mmu/mmu2.cpp View File

@@ -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…
Cancel
Save