|
|
@ -1179,10 +1179,22 @@ |
|
|
|
#undef SDSORT_USES_RAM |
|
|
|
#undef SDSORT_USES_STACK |
|
|
|
#undef SDSORT_CACHE_NAMES |
|
|
|
#define SDSORT_LIMIT 256 // Maximum number of sorted items (10-256). Costs 27 bytes each.
|
|
|
|
#define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting.
|
|
|
|
#define SDSORT_USES_STACK false // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
|
|
|
|
#define SDSORT_CACHE_NAMES true // Keep sorted items in RAM longer for speedy performance. Most expensive option.
|
|
|
|
#define SDSORT_LIMIT 256 |
|
|
|
#define SDSORT_USES_RAM true |
|
|
|
#define SDSORT_USES_STACK false |
|
|
|
#define SDSORT_CACHE_NAMES true |
|
|
|
#ifndef FOLDER_SORTING |
|
|
|
#define FOLDER_SORTING -1 |
|
|
|
#endif |
|
|
|
#ifndef SDSORT_GCODE |
|
|
|
#define SDSORT_GCODE false |
|
|
|
#endif |
|
|
|
#ifndef SDSORT_DYNAMIC_RAM |
|
|
|
#define SDSORT_DYNAMIC_RAM false |
|
|
|
#endif |
|
|
|
#ifndef SDSORT_CACHE_VFATS |
|
|
|
#define SDSORT_CACHE_VFATS 2 |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif // CONDITIONALS_POST_H
|
|
|
|