瀏覽代碼

Don't skip files starting with underscores

Scott Lahteine 9 年之前
父節點
當前提交
20e59dc61e
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      Marlin/cardreader.cpp

+ 2
- 2
Marlin/cardreader.cpp 查看文件

@@ -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…
取消
儲存