ellensp
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Marlin/src/gcode/feature/leds/M150.cpp
|
@ -50,7 +50,7 @@ |
|
|
*/ |
|
|
*/ |
|
|
void GcodeSuite::M150() { |
|
|
void GcodeSuite::M150() { |
|
|
#if ENABLED(NEOPIXEL_LED) |
|
|
#if ENABLED(NEOPIXEL_LED) |
|
|
neo.set_neo_index(parser.intval('I', -1)); |
|
|
neo.neoindex = parser.intval('I', -1); |
|
|
#endif |
|
|
#endif |
|
|
leds.set_color(MakeLEDColor( |
|
|
leds.set_color(MakeLEDColor( |
|
|
parser.seen('R') ? (parser.has_value() ? parser.value_byte() : 255) : 0, |
|
|
parser.seen('R') ? (parser.has_value() ? parser.value_byte() : 255) : 0, |
|
|