Browse Source

Exposed SDCard interface to the public, to USB MSD is able to read/write sectors on the SD card

pull/1/head
etagle 7 years ago
parent
commit
498ea7512a
  1. 1
      Marlin/src/sd/cardreader.h

1
Marlin/src/sd/cardreader.h

@ -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…
Cancel
Save