From 193ab4ba44e992eeb73d32ddfeb13e7d543f718a Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Mon, 30 Dec 2024 12:15:08 +0100 Subject: [PATCH] typo --- marlin2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/marlin2.cpp b/marlin2.cpp index db80820..56a14c5 100644 --- a/marlin2.cpp +++ b/marlin2.cpp @@ -112,7 +112,7 @@ namespace esphome { set_printer_state("COOLING"); } } - if(progress = 0 && (bed_set_temperature!=0.0 || ext_set_temperature!=0.0)) { + if(print_progress == 0.0 && (bed_set_temperature!=0.0 || ext_set_temperature!=0.0)) { set_printer_state("PREHEATING"); } #endif