Browse Source

FS functions need to be virtual

main
PaulStoffregen 4 years ago
parent
commit
b7be970f5e
3 changed files with 15 additions and 15 deletions
  1. +5
    -5
      teensy/FS.h
  2. +5
    -5
      teensy3/FS.h
  3. +5
    -5
      teensy4/FS.h

+ 5
- 5
teensy/FS.h View File

{ {
public: public:
FS() {} FS() {}
File open(const char *filename, uint8_t mode = FILE_READ);
bool exists(const char *filepath);
bool mkdir(const char *filepath);
bool remove(const char *filepath);
bool rmdir(const char *filepath);
virtual File open(const char *filename, uint8_t mode = FILE_READ);
virtual bool exists(const char *filepath);
virtual bool mkdir(const char *filepath);
virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath);
}; };





+ 5
- 5
teensy3/FS.h View File

{ {
public: public:
FS() {} FS() {}
File open(const char *filename, uint8_t mode = FILE_READ);
bool exists(const char *filepath);
bool mkdir(const char *filepath);
bool remove(const char *filepath);
bool rmdir(const char *filepath);
virtual File open(const char *filename, uint8_t mode = FILE_READ);
virtual bool exists(const char *filepath);
virtual bool mkdir(const char *filepath);
virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath);
}; };





+ 5
- 5
teensy4/FS.h View File

{ {
public: public:
FS() {} FS() {}
File open(const char *filename, uint8_t mode = FILE_READ);
bool exists(const char *filepath);
bool mkdir(const char *filepath);
bool remove(const char *filepath);
bool rmdir(const char *filepath);
virtual File open(const char *filename, uint8_t mode = FILE_READ);
virtual bool exists(const char *filepath);
virtual bool mkdir(const char *filepath);
virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath);
}; };





Loading…
Cancel
Save