🐛 Fix MMU late init (#26331)

This commit is contained in:
Erkan Ozgur Yilmaz
2023-10-08 21:39:46 +01:00
committed by GitHub
parent 7fa643a11e
commit e68320ee2b

View File

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