Ensure proper SD print completion (#16967)
This commit is contained in:
@@ -49,6 +49,7 @@ typedef struct {
|
||||
|
||||
class CardReader {
|
||||
public:
|
||||
static uint8_t sdprinting_done_state;
|
||||
static card_flags_t flag; // Flags (above)
|
||||
static char filename[FILENAME_LENGTH], // DOS 8.3 filename of the selected item
|
||||
longFilename[LONG_FILENAME_LENGTH]; // Long name of the selected item
|
||||
@@ -108,9 +109,9 @@ public:
|
||||
static void openAndPrintFile(const char *name); // (working directory)
|
||||
static void fileHasFinished();
|
||||
static void getAbsFilename(char *dst);
|
||||
static void startFileprint();
|
||||
static void printFilename();
|
||||
static void stopSDPrint(
|
||||
static void startFileprint();
|
||||
static void endFilePrint(
|
||||
#if SD_RESORT
|
||||
const bool re_sort=false
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user