New feature: SDCARD_SORT_ALPHA
This commit is contained in:
@ -205,6 +205,19 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* SD File Sorting
|
||||
*/
|
||||
#if ENABLED(SDCARD_SORT_ALPHA)
|
||||
#if SDSORT_LIMIT > 256
|
||||
#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)."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Delta requirements
|
||||
*/
|
||||
|
Reference in New Issue
Block a user