From e68320ee2b10ae5c7bf3bf816e80c3621a20fcd2 Mon Sep 17 00:00:00 2001 From: Erkan Ozgur Yilmaz Date: Sun, 8 Oct 2023 21:39:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20MMU=20late=20init=20(#2633?= =?UTF-8?q?1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/feature/mmu/mmu2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/feature/mmu/mmu2.cpp b/Marlin/src/feature/mmu/mmu2.cpp index 19aae7b7d7..dbf8171a27 100644 --- a/Marlin/src/feature/mmu/mmu2.cpp +++ b/Marlin/src/feature/mmu/mmu2.cpp @@ -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; }