Skip to content

Commit

Permalink
Merge pull request #4593 from 3d-gussner/MK3_Fix_Stop_print_for_host_…
Browse files Browse the repository at this point in the history
…prints

Fix Stop print to send host action when host print is active
  • Loading branch information
3d-gussner authored Feb 5, 2024
2 parents 8e26a95 + 727a82b commit dc3b338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit dc3b338

Please sign in to comment.