Skip to content

Commit

Permalink
Fixing SD library compilation error (writeError() -> getWriteError()).
Browse files Browse the repository at this point in the history
  • Loading branch information
damellis committed Sep 5, 2011
1 parent 9dcf769 commit 0c92f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/SD/File.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0c92f23

Please sign in to comment.