🎨 Check flags without ENABLED

This commit is contained in:
Scott Lahteine
2021-07-09 17:09:58 -05:00
parent 6cbd21d0d4
commit 26bfc26797
31 changed files with 90 additions and 90 deletions

View File

@@ -1153,7 +1153,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