Fix abort of SD printing
This commit is contained in:
parent
40ce9d0299
commit
9076a9314f
1 changed files with 1 additions and 0 deletions
|
|
@ -853,6 +853,7 @@ void lcd_quick_feedback(const bool clear_buttons) {
|
||||||
bool abort_sd_printing; // =false
|
bool abort_sd_printing; // =false
|
||||||
|
|
||||||
void lcd_sdcard_stop() {
|
void lcd_sdcard_stop() {
|
||||||
|
wait_for_heatup = wait_for_user = false;
|
||||||
abort_sd_printing = true;
|
abort_sd_printing = true;
|
||||||
lcd_setstatusPGM(PSTR(MSG_PRINT_ABORTED), -1);
|
lcd_setstatusPGM(PSTR(MSG_PRINT_ABORTED), -1);
|
||||||
lcd_return_to_status();
|
lcd_return_to_status();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue