Preserve CWD for write/remove file (#16667)
This commit is contained in:
1 parent
f6a6704b66
commit
48098b1675
2 files changed
+20
-15
No files matched your search
@@ -125,7 +125,7 @@ public:
|
||||
static inline uint8_t percentDone() { return (isFileOpen() && filesize) ? sdpos / ((filesize + 99) / 100) : 0; }
|
||||
|
||||
// Helper for open and remove
|
||||
static const char* diveToFile(SdFile*& curDir, const char * const path, const bool echo=false);
|
||||
static const char* diveToFile(const bool update_cwd, SdFile*& curDir, const char * const path, const bool echo=false);
|
||||
|
||||
#if ENABLED(SDCARD_SORT_ALPHA)
|
||||
static void presort();
|
||||
|
||||
Reference in new issue
Block a user