Kaynağa Gözat

FS functions need to be virtual

teensy4-core
PaulStoffregen 4 yıl önce
ebeveyn
işleme
b7be970f5e
3 değiştirilmiş dosya ile 15 ekleme ve 15 silme
  1. +5
    -5
      teensy/FS.h
  2. +5
    -5
      teensy3/FS.h
  3. +5
    -5
      teensy4/FS.h

+ 5
- 5
teensy/FS.h Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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);
};



Yükleniyor…
İptal
Kaydet