Skip to content

Commit

Permalink
🐛 Fix MMU late init (MarlinFirmware#26331)
Browse files Browse the repository at this point in the history
  • Loading branch information
eoyilmaz authored and thinkyhead committed Oct 8, 2023
1 parent cdf40ae commit 5fcaa70
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 @@ -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;
}
Expand Down

0 comments on commit 5fcaa70

Please sign in to comment.