sd
Revision 11:3073cff8764d, committed 2019-10-08
- Comitter:
- ryudas
- Date:
- Tue Oct 08 16:45:38 2019 +0000
- Parent:
- 9:e2ab678eb692
- Commit message:
- sds
Changed in this revision
FATFileHandle.cpp | Show annotated file Show diff for this revision Revisions of this file |
FATFileHandle.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r e2ab678eb692 -r 3073cff8764d FATFileHandle.cpp --- a/FATFileHandle.cpp Sat Jul 30 20:47:51 2016 +0000 +++ b/FATFileHandle.cpp Tue Oct 08 16:45:38 2019 +0000 @@ -35,7 +35,7 @@ return retval; } -ssize_t FATFileHandle::write(const void* buffer, size_t length) { +ssize_t FATFileHandle::write_f(const void* buffer, size_t length) { UINT n; FRESULT res = f_write(&_fh, buffer, length, &n); if (res) {
diff -r e2ab678eb692 -r 3073cff8764d FATFileHandle.h --- a/FATFileHandle.h Sat Jul 30 20:47:51 2016 +0000 +++ b/FATFileHandle.h Tue Oct 08 16:45:38 2019 +0000 @@ -31,7 +31,7 @@ FATFileHandle(FIL fh); virtual int close(); - virtual ssize_t write(const void* buffer, size_t length); + virtual ssize_t write_f(const void* buffer, size_t length); virtual ssize_t read(void* buffer, size_t length); virtual int isatty(); virtual off_t lseek(off_t position, int whence);