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");