🧑‍💻 Option allowing > 127 Neopixels (#23322)

This commit is contained in:
GHGiampy
2021-12-20 09:44:43 +01:00
committed by Scott Lahteine
parent 97798d1e47
commit 22cf9b444e
3 changed files with 14 additions and 6 deletions

View File

@ -54,7 +54,7 @@
*/
void GcodeSuite::M150() {
#if ENABLED(NEOPIXEL_LED)
const int8_t index = parser.intval('I', -1);
const pixel_index_t index = parser.intval('I', -1);
#if ENABLED(NEOPIXEL2_SEPARATE)
int8_t brightness = neo.brightness(), unit = parser.intval('S', -1);
switch (unit) {