Merge pull request #4593 from 3d-gussner/MK3_Fix_Stop_print_for_host_prints

Fix Stop print to send host action when host print is active
This commit is contained in:
3d-gussner 2024-02-05 10:39:49 +01:00 committed by GitHub
commit dc3b3387ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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();