🎨 Check flags without ENABLED
This commit is contained in:
@ -1123,7 +1123,7 @@ void CardReader::cdroot() {
|
||||
#if DISABLED(SDSORT_USES_RAM)
|
||||
selectFileByIndex(o1); // Pre-fetch the first entry and save it
|
||||
strcpy(name1, longest_filename()); // so the loop only needs one fetch
|
||||
#if ENABLED(HAS_FOLDER_SORTING)
|
||||
#if HAS_FOLDER_SORTING
|
||||
bool dir1 = flag.filenameIsDir;
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user