Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: FATFileHandle.h
- Revision:
- 10:28e685e5ff7f
- Parent:
- 1:46ce1e16c870
--- a/FATFileHandle.h Sat Jul 30 20:47:51 2016 +0000
+++ b/FATFileHandle.h Mon Jul 10 15:37:41 2017 +0000
@@ -37,9 +37,12 @@
virtual off_t lseek(off_t position, int whence);
virtual int fsync();
virtual off_t flen();
+
+ virtual off_t seek(off_t position, int whence) { return lseek(position, whence); }
+ virtual off_t size() { return flen(); }
protected:
-
+
FIL _fh;
};