|
|
@ -1131,6 +1131,7 @@ void loop() {
|
|
|
|
for (;;) {
|
|
|
|
for (;;) {
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
|
|
|
|
|
|
|
|
card.checkautostart();
|
|
|
|
card.checkautostart();
|
|
|
|
|
|
|
|
|
|
|
|
if (card.flag.abort_sd_printing) {
|
|
|
|
if (card.flag.abort_sd_printing) {
|
|
|
@ -1142,7 +1143,9 @@ void loop() {
|
|
|
|
clear_command_queue();
|
|
|
|
clear_command_queue();
|
|
|
|
quickstop_stepper();
|
|
|
|
quickstop_stepper();
|
|
|
|
print_job_timer.stop();
|
|
|
|
print_job_timer.stop();
|
|
|
|
thermalManager.disable_all_heaters();
|
|
|
|
#if DISABLED(SD_ABORT_NO_COOLDOWN)
|
|
|
|
|
|
|
|
thermalManager.disable_all_heaters();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
thermalManager.zero_fan_speeds();
|
|
|
|
thermalManager.zero_fan_speeds();
|
|
|
|
wait_for_heatup = false;
|
|
|
|
wait_for_heatup = false;
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
|
|
@ -1152,6 +1155,7 @@ void loop() {
|
|
|
|
enqueue_and_echo_commands_P(PSTR(EVENT_GCODE_SD_STOP));
|
|
|
|
enqueue_and_echo_commands_P(PSTR(EVENT_GCODE_SD_STOP));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif // SDSUPPORT
|
|
|
|
#endif // SDSUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
if (commands_in_queue < BUFSIZE) get_available_commands();
|
|
|
|
if (commands_in_queue < BUFSIZE) get_available_commands();
|
|
|
|