Stop print when SDcard is removed while printing.
This commit is contained in:
parent
52ac95f082
commit
66a1d76f92
|
|
@ -7417,6 +7417,9 @@ void menu_lcd_lcdupdate_func(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
if(GetPrinterState() == PrinterState::IsSDPrinting) {
|
||||
lcd_print_stop();
|
||||
}
|
||||
card.release();
|
||||
LCD_MESSAGERPGM(_T(MSG_SD_REMOVED));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue