From 68ae7c8d7a797f74674f0ed2687f19c497c2ea9e Mon Sep 17 00:00:00 2001 From: Markus Towara Date: Fri, 12 May 2017 12:13:23 +0200 Subject: [PATCH] Bugfix PRINTER_EVENT_LEDS Extra closing curly bracket terminates while loop early if PRINTER_EVENT_LEDS defined --- Marlin/Marlin_main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 983ae939e..fcd20ab6f 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -6873,7 +6873,6 @@ inline void gcode_M109() { const uint8_t red = map(constrain(temp, start_temp, target_temp), start_temp, target_temp, 0, 255); if (red != old_red) set_led_color((old_red = red), 0, 255); } - } #endif #if TEMP_BED_RESIDENCY_TIME > 0