Merge pull request #1967 from poelzi/max_segments

Allow to override the max segments setting when compiling
This commit is contained in:
Christian Schwinne
2021-06-29 23:43:20 +02:00
committed by GitHub

View File

@@ -61,7 +61,9 @@
/* How much data bytes all segments combined may allocate */
#define MAX_SEGMENT_DATA 2048
#else
#ifndef MAX_NUM_SEGMENTS
#define MAX_NUM_SEGMENTS 16
#endif
#define MAX_NUM_TRANSITIONS 16
#define MAX_SEGMENT_DATA 8192
#endif