Skip to content

Commit

Permalink
Fix send_cancel_gcode in abortPrinting (bigtreetech#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebel1 authored May 23, 2020
1 parent e00b3a1 commit caaf378
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TFT/src/User/Menu/Printing.c
Original file line number Diff line number Diff line change
Expand Up @@ -718,13 +718,13 @@ void abortPrinting(void)

case TFT_UDISK:
case TFT_SD:
if (infoSettings.send_cancel_gcode == 1)
mustStoreCmd(PRINT_CANCEL_GCODE);

clearCmdQueue();

break;
}
if (infoSettings.send_cancel_gcode == 1)
mustStoreCmd(PRINT_CANCEL_GCODE);

clearCmdQueue();
heatClearIsWaiting();

endPrinting();
Expand Down

0 comments on commit caaf378

Please sign in to comment.