Browse Source

LEDs followup (#19133)

vanilla_fb_2.0.x
ellensp 4 years ago
committed by GitHub
parent
commit
66694a213f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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