Skip to content
Browse files

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

  • Loading branch information...
1 parent 9dcf769 commit 0c92f230b5202b241de875a3baff9dfd1cf7a618 @damellis damellis committed Sep 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/SD/File.cpp
View
2 libraries/SD/File.cpp
@@ -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;
}

0 comments on commit 0c92f23

Please sign in to comment.
Something went wrong with that request. Please try again.