mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-19 16:16:13 +00:00
parent
d481bba327
commit
daa8fff6c6
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ public:
|
||||||
static void endFilePrintNow(TERN_(SD_RESORT, const bool re_sort=false));
|
static void endFilePrintNow(TERN_(SD_RESORT, const bool re_sort=false));
|
||||||
static void abortFilePrintNow(TERN_(SD_RESORT, const bool re_sort=false));
|
static void abortFilePrintNow(TERN_(SD_RESORT, const bool re_sort=false));
|
||||||
static void fileHasFinished();
|
static void fileHasFinished();
|
||||||
static inline void abortFilePrintSoon() { flag.abort_sd_printing = true; }
|
static inline void abortFilePrintSoon() { flag.abort_sd_printing = isFileOpen(); }
|
||||||
static inline void pauseSDPrint() { flag.sdprinting = false; }
|
static inline void pauseSDPrint() { flag.sdprinting = false; }
|
||||||
static inline bool isPrinting() { return flag.sdprinting; }
|
static inline bool isPrinting() { return flag.sdprinting; }
|
||||||
static inline bool isPaused() { return isFileOpen() && !isPrinting(); }
|
static inline bool isPaused() { return isFileOpen() && !isPrinting(); }
|
||||||
|
|
Loading…
Reference in a new issue