Apply LEDColor, language fixes

This commit is contained in:
Scott Lahteine committed 2017-11-29 23:58:12 -06:00
1 parent 8f90642eea
commit e37dd64548
15 files changed
+323 -286

No files matched your search

+4 -6
View File
@@ -132,12 +132,10 @@ void GcodeSuite::M190() {
const uint8_t red = map(constrain(temp, start_temp, target_temp), start_temp, target_temp, 0, 255);
if (red != old_red) {
old_red = red;
set_led_color(red, 0, 255
#if ENABLED(NEOPIXEL_LED)
, 0, pixels.getBrightness()
#if ENABLED(NEOPIXEL_IS_SEQUENTIAL)
, true
#endif
leds.set_color(
MakeLEDColor(red, 0, 255, 0, pixels.getBrightness())
#if ENABLED(NEOPIXEL_IS_SEQUENTIAL)
, true
#endif
);
}