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
1 changed files with 1 additions and 1 deletions

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)) {