Dynamic allocation for SDCARD_SORT_ALPHA
This commit is contained in:
parent
a561bd5e3a
commit
47f9883b0f
20 changed files with 124 additions and 18 deletions
|
|
@ -213,8 +213,12 @@
|
|||
#error "SDSORT_LIMIT must be 256 or smaller."
|
||||
#elif SDSORT_LIMIT < 10
|
||||
#error "SDSORT_LIMIT should be greater than 9 to be useful."
|
||||
#elif DISABLED(SDSORT_USES_RAM) && ENABLED(SDSORT_CACHE_NAMES)
|
||||
#error "SDSORT_CACHE_NAMES requires SDSORT_USES_RAM (which reads the directory into RAM)."
|
||||
#elif DISABLED(SDSORT_USES_RAM)
|
||||
#if ENABLED(SDSORT_DYNAMIC_RAM)
|
||||
#error "SDSORT_DYNAMIC_RAM requires SDSORT_USES_RAM (which reads the directory into RAM)."
|
||||
#elif ENABLED(SDSORT_CACHE_NAMES)
|
||||
#error "SDSORT_CACHE_NAMES requires SDSORT_USES_RAM (which reads the directory into RAM)."
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue