Sfoglia il codice sorgente

Add FS usedSize() and totalSize()

teensy4-core
PaulStoffregen 4 anni fa
parent
commit
7f02c72b15
3 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. +2
    -0
      teensy/FS.h
  2. +2
    -0
      teensy3/FS.h
  3. +2
    -0
      teensy4/FS.h

+ 2
- 0
teensy/FS.h Vedi File

@@ -170,6 +170,8 @@ public:
virtual bool rename(const char *oldfilepath, const char *newfilepath);
virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath);
virtual uint64_t usedSize();
virtual uint64_t totalSize();
};



+ 2
- 0
teensy3/FS.h Vedi File

@@ -170,6 +170,8 @@ public:
virtual bool rename(const char *oldfilepath, const char *newfilepath);
virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath);
virtual uint64_t usedSize();
virtual uint64_t totalSize();
};



+ 2
- 0
teensy4/FS.h Vedi File

@@ -170,6 +170,8 @@ public:
virtual bool rename(const char *oldfilepath, const char *newfilepath);
virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath);
virtual uint64_t usedSize();
virtual uint64_t totalSize();
};



Loading…
Annulla
Salva