Fixing SD library compilation error (writeError() -> getWriteError()).

This commit is contained in:
David A. Mellis 2011-09-04 20:18:27 -04:00
parent 9dcf769123
commit 0c92f230b5
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ size_t File::write(const uint8_t *buf, size_t size) {
}
_file->clearWriteError();
t = _file->write(buf, size);
if (_file->writeError()) {
if (_file->getWriteError()) {
setWriteError();
return 0;
}