Browse Source

Merge pull request #3156 from esenapaj/patch-3

Fix CardReader::lsDive()
Scott Lahteine 8 years ago
parent
commit
57e82cacc9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/cardreader.cpp

+ 1
- 1
Marlin/cardreader.cpp View File

88
       // close() is done automatically by destructor of SdFile
88
       // close() is done automatically by destructor of SdFile
89
     }
89
     }
90
     else {
90
     else {
91
-      char pn0 = p.name[0];
91
+      uint8_t pn0 = p.name[0];
92
       if (pn0 == DIR_NAME_FREE) break;
92
       if (pn0 == DIR_NAME_FREE) break;
93
       if (pn0 == DIR_NAME_DELETED || pn0 == '.') continue;
93
       if (pn0 == DIR_NAME_DELETED || pn0 == '.') continue;
94
       if (longFilename[0] == '.') continue;
94
       if (longFilename[0] == '.') continue;

Loading…
Cancel
Save