From ff91d28a3aafaeeb7b0b795637aaf4870829d417 Mon Sep 17 00:00:00 2001 From: AnHardt Date: Mon, 4 Jul 2016 03:12:11 +0200 Subject: [PATCH] Remove wants_to_cool warning Remove wants_to_cool warning --- Marlin/Marlin_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index fc5df9443..bdf0156d3 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -4569,7 +4569,7 @@ inline void gcode_M109() { #endif //TEMP_RESIDENCY_TIME > 0 float theTarget = -1.0, old_temp = 9999.0; - bool wants_to_cool; + bool wants_to_cool = false; cancel_heatup = false; millis_t now, next_temp_ms = 0, next_cool_check_ms = 0; @@ -4663,7 +4663,7 @@ inline void gcode_M109() { #endif //TEMP_BED_RESIDENCY_TIME > 0 float theTarget = -1.0, old_temp = 9999.0; - bool wants_to_cool; + bool wants_to_cool = false; cancel_heatup = false; millis_t now, next_temp_ms = 0, next_cool_check_ms = 0;