Fix PLR cancel with ExtUI (#16556)

This commit is contained in:
InsanityAutomation
2020-01-13 21:52:24 -05:00
committed by Scott Lahteine
parent 1457e40208
commit ffd8b595d1
9 changed files with 30 additions and 18 deletions

View File

@ -148,14 +148,16 @@ class PrintJobRecovery {
static void enable(const bool onoff);
static void changed();
static void check();
static void resume();
static inline bool exists() { return card.jobRecoverFileExists(); }
static inline void open(const bool read) { card.openJobRecoveryFile(read); }
static inline void close() { file.close(); }
static void check();
static void resume();
static void purge();
static inline void cancel() { purge(); card.autostart_index = 0; }
static void load();
static void save(const bool force=
#if ENABLED(SAVE_EACH_CMD_MODE)