1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-18 07:52:14 +01:00

Fixing SD ls function (Paul Stoffregen).

http://code.google.com/p/arduino/issues/detail?id=700
This commit is contained in:
David A. Mellis 2011-10-29 17:31:04 -04:00
parent 432fab12db
commit 726acf77de

View File

@ -590,7 +590,7 @@ void SdFile::printDirName(const dir_t& dir, uint8_t width) {
Serial.print('.');
w++;
}
Serial.print(dir.name[i]);
Serial.write(dir.name[i]);
w++;
}
if (DIR_IS_SUBDIR(&dir)) {