|
|
@ -36,7 +36,7 @@ |
|
|
|
#include HAL_PATH(../HAL, endstop_interrupts.h) |
|
|
|
#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 |
|
|
|
#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); |
|
|
|
#endif |
|
|
|
|
|
|
|
#if BOTH(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED, SDSUPPORT) |
|
|
|
#if BOTH(SD_ABORT_ON_ENDSTOP_HIT, SDSUPPORT) |
|
|
|
if (planner.abort_on_endstop_hit) { |
|
|
|
card.stopSDPrint(); |
|
|
|
quickstop_stepper(); |
|
|
|