LEDs followup (#19133)

This commit is contained in:
ellensp 2020-08-26 01:16:43 +12:00 committed by Scott Lahteine
parent 40b89456af
commit 0decb50fcd

View File

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