Add root flag to CardReader (#15275)

This commit is contained in:
Robby Candra
2019-09-17 05:49:55 +07:00
committed by Scott Lahteine
parent eb1a368277
commit 98233b1de0
4 changed files with 11 additions and 18 deletions

View File

@@ -41,6 +41,7 @@ typedef struct {
sdprinting:1,
mounted:1,
filenameIsDir:1,
workDirIsRoot:1,
abort_sd_printing:1
#if ENABLED(BINARY_FILE_TRANSFER)
, binary_mode:1
@@ -79,7 +80,7 @@ public:
#endif
static void getfilename(uint16_t nr, const char* const match=nullptr);
static uint16_t getnrfilenames();
static uint16_t countFilesInWorkDir();
static void getAbsFilename(char *t);