Merge pull request #6699 from mtowara/patch-1

Bugfix PRINTER_EVENT_LEDS
This commit is contained in:
Scott Lahteine 2017-05-12 05:58:25 -05:00 committed by GitHub
commit e51b5774db

View File

@ -6877,7 +6877,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