You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constexprsize_t DYNAMIC_PALETTE_COUNT = 5; // 1-5 are dynamic palettes (1=random,2=primary,3=primary+secondary,4=primary+secondary+tertiary,5=primary+secondary(+tertiary if not black)
12
+
constexprsize_t FIXED_PALETTE_COUNT = DYNAMIC_PALETTE_COUNT + FASTLED_PALETTE_COUNT + GRADIENT_PALETTE_COUNT; // total number of fixed palettes
13
+
#ifndef ESP8266
14
+
#defineWLED_MAX_CUSTOM_PALETTES (255 - FIXED_PALETTE_COUNT) // allow up to 255 total palettes, user is warned about stability issues when adding more than 10
15
+
#else
16
+
#defineWLED_MAX_CUSTOM_PALETTES10// ESP8266: limit custom palettes to 10
17
+
#endif
10
18
11
19
// You can define custom product info from build flags.
12
20
// This is useful to allow API consumer to identify what type of WLED version
0 commit comments