JEK changes enabling proper recording of IMU/GPS datastrams - 02-APR-2013
Fork of GPS_Incremental by
FatFileSystem/FATFileHandle.h
- Committer:
- jekain314
- Date:
- 2013-04-19
- Revision:
- 9:b45feb91ba38
- Parent:
- 0:c746ee34feae
File content as of revision 9:b45feb91ba38:
/* mbed Microcontroller Library - FATFileHandle * Copyright (c) 2008, sford */ #ifndef MBED_FATFILEHANDLE_H #define MBED_FATFILEHANDLE_H #include "FileHandle.h" #include "ff.h" namespace mbed { class FATFileHandle : public FileHandle { public: FATFileHandle(FIL fh); virtual int close(); virtual ssize_t write(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); virtual int fsync(); virtual off_t flen(); protected: FIL _fh; }; } #endif