Browse Source

LEDs followup (#19133)

vanilla_fb_2.0.x
ellensp 4 years ago
committed by Scott Lahteine
parent
commit
0decb50fcd
  1. 2
      Marlin/src/gcode/feature/leds/M150.cpp

2
Marlin/src/gcode/feature/leds/M150.cpp

@ -50,7 +50,7 @@
*/
void GcodeSuite::M150() {
#if ENABLED(NEOPIXEL_LED)
neo.set_neo_index(parser.intval('I', -1));
neo.neoindex = parser.intval('I', -1);
#endif
leds.set_color(MakeLEDColor(
parser.seen('R') ? (parser.has_value() ? parser.value_byte() : 255) : 0,

Loading…
Cancel
Save