Merge pull request #1283 from PavelSindler/crashdet_cancel

canceling print after crash detection sets saved_priting flag to false
This commit is contained in:
PavelSindler 2018-11-05 10:37:51 +01:00 committed by GitHub
commit 2619c6f7a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -622,6 +622,7 @@ void crashdet_recover()
void crashdet_cancel()
{
saved_printing = false;
tmc2130_sg_stop_on_crash = true;
if (saved_printing_type == PRINTING_TYPE_SD) {
lcd_print_stop();