mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-24 04:29:34 +00:00
Exposed SDCard interface to the public, to USB MSD is able to read/write sectors on the SD card
This commit is contained in:
parent
9aff55ed1f
commit
498ea7512a
@ -86,6 +86,7 @@ public:
|
||||
FORCE_INLINE uint8_t percentDone() { return (isFileOpen() && filesize) ? sdpos / ((filesize + 99) / 100) : 0; }
|
||||
FORCE_INLINE char* getWorkDirName() { workDir.getFilename(filename); return filename; }
|
||||
|
||||
Sd2Card& getSd2Card() { return card; }
|
||||
public:
|
||||
bool saving, logging, sdprinting, cardOK, filenameIsDir;
|
||||
char filename[FILENAME_LENGTH], longFilename[LONG_FILENAME_LENGTH];
|
||||
|
Loading…
Reference in New Issue
Block a user