LEDs followup (#19133)

This commit is contained in:
ellensp authored and Scott Lahteine committed 2021-04-29 08:44:57 -05:00
1 parent 40b89456af
commit 0decb50fcd
1 file changed
+1 -1
+1 -1
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,