🎨 Check flags without ENABLED

This commit is contained in:
Scott Lahteine committed 2021-07-17 01:54:27 -05:00
1 parent fea4e06484
commit 78c2eb6876
31 files changed
+90 -90

No files matched your search

+1 -1
View File
@@ -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