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