mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-28 14:24:34 +00:00
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>
This commit is contained in:
parent
b12d0d06eb
commit
fff5e9ba4a
@ -159,7 +159,7 @@ void MMU2::mmu_loop() {
|
|||||||
MMU2_COMMAND("S1"); // Read Version
|
MMU2_COMMAND("S1"); // Read Version
|
||||||
state = -2;
|
state = -2;
|
||||||
}
|
}
|
||||||
else if (millis() > 3000000) {
|
else if (millis() > 30000) { // 30sec after reset disable MMU
|
||||||
SERIAL_ECHOLNPGM("MMU not responding - DISABLED");
|
SERIAL_ECHOLNPGM("MMU not responding - DISABLED");
|
||||||
state = 0;
|
state = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user