|
|
@ -36,7 +36,7 @@
|
|
|
|
#include HAL_PATH(../HAL, endstop_interrupts.h)
|
|
|
|
#include HAL_PATH(../HAL, endstop_interrupts.h)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if BOTH(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED, SDSUPPORT)
|
|
|
|
#if BOTH(SD_ABORT_ON_ENDSTOP_HIT, SDSUPPORT)
|
|
|
|
#include "printcounter.h" // for print_job_timer
|
|
|
|
#include "printcounter.h" // for print_job_timer
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
@ -365,7 +365,7 @@ void Endstops::event_handler() {
|
|
|
|
ui.status_printf_P(0, PSTR(MSG_LCD_ENDSTOPS " %c %c %c %c"), chrX, chrY, chrZ, chrP);
|
|
|
|
ui.status_printf_P(0, PSTR(MSG_LCD_ENDSTOPS " %c %c %c %c"), chrX, chrY, chrZ, chrP);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if BOTH(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED, SDSUPPORT)
|
|
|
|
#if BOTH(SD_ABORT_ON_ENDSTOP_HIT, SDSUPPORT)
|
|
|
|
if (planner.abort_on_endstop_hit) {
|
|
|
|
if (planner.abort_on_endstop_hit) {
|
|
|
|
card.stopSDPrint();
|
|
|
|
card.stopSDPrint();
|
|
|
|
quickstop_stepper();
|
|
|
|
quickstop_stepper();
|
|
|
|