Fix Stop print to send host action when host print is active
This commit is contained in:
parent
c999c2948e
commit
727a82bb3d
|
|
@ -5731,7 +5731,7 @@ void print_stop(bool interactive, bool unconditional_stop)
|
||||||
ConditionalStop();
|
ConditionalStop();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (card.mounted) {
|
if (card.isFileOpen()) {
|
||||||
// Reset the sd status
|
// Reset the sd status
|
||||||
card.sdprinting = false;
|
card.sdprinting = false;
|
||||||
card.closefile();
|
card.closefile();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue