🐛 Fix MMU late init (#26331)
This commit is contained in:
parent
7fa643a11e
commit
e68320ee2b
|
|
@ -160,7 +160,7 @@ void MMU2::mmu_loop() {
|
|||
MMU2_SEND("S1"); // Read Version
|
||||
state = -2;
|
||||
}
|
||||
else if (millis() > 30000) { // 30sec after reset disable MMU
|
||||
else if (ELAPSED(millis(), prev_request + 30000)) { // 30sec after reset disable MMU
|
||||
SERIAL_ECHOLNPGM("MMU not responding - DISABLED");
|
||||
state = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue