1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-28 14:24:34 +00:00

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,