Add SDCARD_SORT_ALPHA options for LPC1768

This commit is contained in:
Scott Lahteine 2017-10-31 14:05:40 -05:00
parent 727a403ba1
commit 571ced712d

View file

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