From 0a33bc2bfca0e0525b4658b83f979783fe614cff Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Sat, 28 Dec 2024 16:58:04 +0100 Subject: [PATCH] Tweaks --- marlin2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/marlin2.cpp b/marlin2.cpp index c95a931..08d5230 100644 --- a/marlin2.cpp +++ b/marlin2.cpp @@ -54,7 +54,7 @@ namespace esphome { } } - if(millis() - millisProgress > 15000 ) { + if(millis() - millisProgress > 15000 && (progress != 100 progress != 0)) { millisProgress = millis(); ESP_LOGD(TAG, "M27");