|
@ -65,7 +65,7 @@ void setup_neopixel() { |
|
|
bool neopixel_set_led_color(const uint8_t r, const uint8_t g, const uint8_t b, const uint8_t w, const uint8_t p) { |
|
|
bool neopixel_set_led_color(const uint8_t r, const uint8_t g, const uint8_t b, const uint8_t w, const uint8_t p) { |
|
|
const uint32_t color = pixels.Color(r, g, b, w); |
|
|
const uint32_t color = pixels.Color(r, g, b, w); |
|
|
pixels.setBrightness(p); |
|
|
pixels.setBrightness(p); |
|
|
#if !ENABLED(NEOPIXEL_IS_SEQUENTIAL) |
|
|
#if DISABLED(NEOPIXEL_IS_SEQUENTIAL) |
|
|
set_neopixel_color(color); |
|
|
set_neopixel_color(color); |
|
|
return false; |
|
|
return false; |
|
|
#else |
|
|
#else |
|
|