Skip to content

Commit

Permalink
Fix insane mmu2 timeout (MarlinFirmware#21855)
Browse files Browse the repository at this point in the history
* Fix insane mmu2 timeout

Fix insane timeout value. Now match original Prusa firmware.

* Update mmu2.cpp

Co-authored-by: Luu Lac <[email protected]>
  • Loading branch information
2 people authored and lkrammes committed May 10, 2021
1 parent ff01668 commit e6ea98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/feature/mmu/mmu2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void MMU2::mmu_loop() {
MMU2_COMMAND("S1"); // Read Version
state = -2;
}
else if (millis() > 3000000) {
else if (millis() > 30000) { // 30sec after reset disable MMU
SERIAL_ECHOLNPGM("MMU not responding - DISABLED");
state = 0;
}
Expand Down

0 comments on commit e6ea98a

Please sign in to comment.