Allow to override the max segments setting when compiling

This commit is contained in:
Daniel Poelzleithner 2021-05-18 00:26:21 +00:00 committed by Daniel Poelzleithner
parent 1617658bfe
commit 57e50d0c33

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