Fix Stop print to send host action when host print is active

This commit is contained in:
3d-gussner 2024-02-05 08:14:10 +01:00
parent c999c2948e
commit 727a82bb3d
1 changed files with 1 additions and 1 deletions

View File

@ -5731,7 +5731,7 @@ void print_stop(bool interactive, bool unconditional_stop)
ConditionalStop();
}
if (card.mounted) {
if (card.isFileOpen()) {
// Reset the sd status
card.sdprinting = false;
card.closefile();