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

This commit is contained in:
GHGiampy
2021-12-20 09:44:43 +01:00
committed by GitHub
parent 9d42755068
commit ba32391454
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) {