🎨 Check flags without ENABLED
This commit is contained in:
1 parent
fea4e06484
commit
78c2eb6876
31 files changed
+90
-90
No files matched your search
@@ -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