Fix kill() and ExtensibleUI (#12160)
* Fix to isPrintingFromMedia() - isPrintingFromMedia() will now return true even if SD print is paused. - isPrintingFromMediaPaused() allows UI to determine if the print is paused. * Don't use _delay_us in minkill (#12145) - In HAL_DUE, _delay_us is simply an alias for delay, which causes the board to hang and subsequently reboot due to the watchdog timer. * Shorten code with IFSD macro
This commit is contained in:
committed by
Scott Lahteine
parent
b381cad399
commit
2e5e689a7f
@ -133,6 +133,7 @@ namespace UI {
|
||||
void enqueueCommands(progmem_str gcode);
|
||||
|
||||
void printFile(const char *filename);
|
||||
bool isPrintingFromMediaPaused();
|
||||
bool isPrintingFromMedia();
|
||||
bool isPrinting();
|
||||
void stopPrint();
|
||||
|
Reference in New Issue
Block a user