🚸 Case Light, LED menus for E3V2 DWIN Enhanced UI (#23590)
This commit is contained in:
@@ -25,8 +25,6 @@
|
||||
* NeoPixel support
|
||||
*/
|
||||
|
||||
#define MAX_NEOPIXELS 127
|
||||
|
||||
#ifndef _NEOPIXEL_INCLUDE_
|
||||
#error "Always include 'leds.h' and not 'neopixel.h' directly."
|
||||
#endif
|
||||
@@ -68,7 +66,7 @@
|
||||
// Types
|
||||
// ------------------------
|
||||
|
||||
typedef IF<(MAX_NEOPIXELS > 127), int16_t, int8_t>::type pixel_index_t;
|
||||
typedef IF<(TERN0(NEOPIXEL_LED, NEOPIXEL_PIXELS > 127)), int16_t, int8_t>::type pixel_index_t;
|
||||
|
||||
// ------------------------
|
||||
// Classes
|
||||
|
||||
Reference in New Issue
Block a user