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