Merge pull request #1967 from poelzi/max_segments

Allow to override the max segments setting when compiling
pull/2046/head^2
Christian Schwinne 2021-06-29 23:43:20 +02:00 zatwierdzone przez GitHub
commit a58c5cce78
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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