We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8bd2a7 commit 477b13aCopy full SHA for 477b13a
wled00/FX.h
@@ -97,7 +97,11 @@ extern byte realtimeMode; // used in getMappedPixelIndex()
97
#define MAX_NUM_SEGMENTS 32
98
#define MAX_SEGMENT_DATA (20*1024) // 20k by default (S2 is short on free RAM), limit does not apply if PSRAM is available
99
#else
100
- #define MAX_NUM_SEGMENTS 64
+ #ifdef BOARD_HAS_PSRAM
101
+ #define MAX_NUM_SEGMENTS 64
102
+ #else
103
+ #define MAX_NUM_SEGMENTS 32
104
+ #endif
105
#define MAX_SEGMENT_DATA (64*1024) // 64k by default, limit does not apply if PSRAM is available
106
#endif
107
0 commit comments