Browse Source

Improve ListFiles compatibility with other platforms

main
PaulStoffregen 8 years ago
parent
commit
ba1abfcd00
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/ListFiles/ListFiles.ino

+ 1
- 1
examples/ListFiles/ListFiles.ino View File

unsigned int count = 0; unsigned int count = 0;
while (1) { while (1) {
char filename[64]; char filename[64];
unsigned long filesize;
uint32_t filesize;


if (SerialFlash.readdir(filename, sizeof(filename), filesize)) { if (SerialFlash.readdir(filename, sizeof(filename), filesize)) {
Serial.print(" "); Serial.print(" ");

Loading…
Cancel
Save