Bugfix PRINTER_EVENT_LEDS

Extra closing curly bracket terminates while loop early if PRINTER_EVENT_LEDS defined
This commit is contained in:
Markus Towara 2017-05-12 12:13:23 +02:00 committed by GitHub
parent 91841d75c9
commit 68ae7c8d7a

View file

@ -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); 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); if (red != old_red) set_led_color((old_red = red), 0, 255);
} }
}
#endif #endif
#if TEMP_BED_RESIDENCY_TIME > 0 #if TEMP_BED_RESIDENCY_TIME > 0