Browse Source
Merge pull request #8191 from thinkyhead/bf2_rearm_more
[2.0.x] Add SDCARD_SORT_ALPHA options for LPC1768
pull/1/head
Scott Lahteine
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
16 additions and
4 deletions
-
Marlin/src/inc/Conditionals_post.h
|
|
@ -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
|
|
|
|