Skip to content

Commit

Permalink
fix compilation with SPINDLE_FEATURE and ABORT_ON_SOFTWARE_ENDSTOPS
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndere1 committed Apr 23, 2024
1 parent d632ff3 commit 00e49de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Marlin/src/module/endstops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
#include "probe.h"
#endif

#if ANY(SD_ABORT_ON_ENDSTOP_HIT, ABORT_ON_SOFTWARE_ENDSTOP) && HAS_CUTTER
#include "../feature/spindle_laser.h"
#endif

Endstops endstops;

// private:
Expand Down
4 changes: 4 additions & 0 deletions Marlin/src/module/motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
#include "../feature/babystep.h"
#endif

#if ENABLED(ABORT_ON_SOFTWARE_ENDSTOP) && HAS_CUTTER
#include "../feature/spindle_laser.h"
#endif

#define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE)
#include "../core/debug_out.h"

Expand Down

0 comments on commit 00e49de

Please sign in to comment.