Merge pull request #1967 from poelzi/max_segments
Allow to override the max segments setting when compiling
This commit is contained in:
commit
a58c5cce78
@ -61,7 +61,9 @@
|
|||||||
/* How much data bytes all segments combined may allocate */
|
/* How much data bytes all segments combined may allocate */
|
||||||
#define MAX_SEGMENT_DATA 2048
|
#define MAX_SEGMENT_DATA 2048
|
||||||
#else
|
#else
|
||||||
|
#ifndef MAX_NUM_SEGMENTS
|
||||||
#define MAX_NUM_SEGMENTS 16
|
#define MAX_NUM_SEGMENTS 16
|
||||||
|
#endif
|
||||||
#define MAX_NUM_TRANSITIONS 16
|
#define MAX_NUM_TRANSITIONS 16
|
||||||
#define MAX_SEGMENT_DATA 8192
|
#define MAX_SEGMENT_DATA 8192
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user