Browse Source

Don't skip files starting with underscores

Scott Lahteine 9 years ago
parent
commit
20e59dc61e
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/cardreader.cpp

+ 2
- 2
Marlin/cardreader.cpp View File

@@ -72,9 +72,9 @@ void CardReader::lsDive(const char *prepend, SdFile parent, const char * const m
72 72
     else {
73 73
       char pn0 = p.name[0];
74 74
       if (pn0 == DIR_NAME_FREE) break;
75
-      if (pn0 == DIR_NAME_DELETED || pn0 == '.' || pn0 == '_') continue;
75
+      if (pn0 == DIR_NAME_DELETED || pn0 == '.') continue;
76 76
       char lf0 = longFilename[0];
77
-      if (lf0 == '.' || lf0 == '_') continue;
77
+      if (lf0 == '.') continue;
78 78
 
79 79
       if (!DIR_IS_FILE_OR_SUBDIR(&p)) continue;
80 80
 

Loading…
Cancel
Save