🐛 Fix excessive MMU2 timeout (#21855)

This commit is contained in:
Giuliano Zaro 2021-05-09 22:58:36 +02:00 committed by Scott Lahteine
parent 00722c3294
commit 789235b925

View File

@ -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;
} }