Sfoglia il codice sorgente

FS functions need to be virtual

main
PaulStoffregen 4 anni fa
parent
commit
b7be970f5e
3 ha cambiato i file con 15 aggiunte e 15 eliminazioni
  1. +5
    -5
      teensy/FS.h
  2. +5
    -5
      teensy3/FS.h
  3. +5
    -5
      teensy4/FS.h

+ 5
- 5
teensy/FS.h Vedi File

@@ -164,11 +164,11 @@ class FS
{
public:
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 Vedi File

@@ -164,11 +164,11 @@ class FS
{
public:
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 Vedi File

@@ -164,11 +164,11 @@ class FS
{
public:
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…
Annulla
Salva