Actually call UnconditionalStop() in Stop()->lcd_print_stop()
Remove incorrect check introduced during development.
This commit is contained in:
parent
83693bf4cc
commit
32d8d892f5
@ -7088,13 +7088,10 @@ static void lcd_sd_updir()
|
|||||||
|
|
||||||
void lcd_print_stop()
|
void lcd_print_stop()
|
||||||
{
|
{
|
||||||
if (!IsStopped()) {
|
|
||||||
// Stop the print if we didn't already due to an error
|
|
||||||
if (!card.sdprinting) {
|
if (!card.sdprinting) {
|
||||||
SERIAL_ECHOLNRPGM(MSG_OCTOPRINT_CANCEL); // for Octoprint
|
SERIAL_ECHOLNRPGM(MSG_OCTOPRINT_CANCEL); // for Octoprint
|
||||||
}
|
}
|
||||||
UnconditionalStop();
|
UnconditionalStop();
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: all the following should be moved in the main marlin loop!
|
// TODO: all the following should be moved in the main marlin loop!
|
||||||
#ifdef MESH_BED_LEVELING
|
#ifdef MESH_BED_LEVELING
|
||||||
|
Loading…
Reference in New Issue
Block a user