Skip to content

Commit

Permalink
🔧 Extra axis endstop defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed May 17, 2023
1 parent d554855 commit 3c9e8e1
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Marlin/src/inc/Conditionals_post.h
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,24 @@
#if ENABLED(USE_ZMAX_PLUG)
#define ENDSTOPPULLDOWN_ZMAX
#endif
#if ENABLED(USE_IMAX_PLUG)
#define ENDSTOPPULLDOWN_IMAX
#endif
#if ENABLED(USE_JMAX_PLUG)
#define ENDSTOPPULLDOWN_JMAX
#endif
#if ENABLED(USE_KMAX_PLUG)
#define ENDSTOPPULLDOWN_KMAX
#endif
#if ENABLED(USE_UMAX_PLUG)
#define ENDSTOPPULLDOWN_UMAX
#endif
#if ENABLED(USE_VMAX_PLUG)
#define ENDSTOPPULLDOWN_VMAX
#endif
#if ENABLED(USE_WMAX_PLUG)
#define ENDSTOPPULLDOWN_WMAX
#endif
#if ENABLED(USE_XMIN_PLUG)
#define ENDSTOPPULLDOWN_XMIN
#endif
Expand All @@ -1273,6 +1291,24 @@
#if ENABLED(USE_ZMIN_PLUG)
#define ENDSTOPPULLDOWN_ZMIN
#endif
#if ENABLED(USE_IMIN_PLUG)
#define ENDSTOPPULLDOWN_IMIN
#endif
#if ENABLED(USE_JMIN_PLUG)
#define ENDSTOPPULLDOWN_JMIN
#endif
#if ENABLED(USE_KMIN_PLUG)
#define ENDSTOPPULLDOWN_KMIN
#endif
#if ENABLED(USE_UMIN_PLUG)
#define ENDSTOPPULLDOWN_UMIN
#endif
#if ENABLED(USE_VMIN_PLUG)
#define ENDSTOPPULLDOWN_VMIN
#endif
#if ENABLED(USE_WMIN_PLUG)
#define ENDSTOPPULLDOWN_WMIN
#endif
#endif

/**
Expand Down
36 changes: 36 additions & 0 deletions Marlin/src/pins/pins_postprocess.h
Original file line number Diff line number Diff line change
Expand Up @@ -1719,6 +1719,24 @@
#if !defined(USE_ZMAX_PLUG) && _STOP_IN_USE(_ZMAX_)
#define USE_ZMAX_PLUG
#endif
#if !defined(USE_IMAX_PLUG) && _STOP_IN_USE(_IMAX_)
#define USE_IMAX_PLUG
#endif
#if !defined(USE_JMAX_PLUG) && _STOP_IN_USE(_JMAX_)
#define USE_JMAX_PLUG
#endif
#if !defined(USE_KMAX_PLUG) && _STOP_IN_USE(_KMAX_)
#define USE_KMAX_PLUG
#endif
#if !defined(USE_UMAX_PLUG) && _STOP_IN_USE(_UMAX_)
#define USE_UMAX_PLUG
#endif
#if !defined(USE_VMAX_PLUG) && _STOP_IN_USE(_VMAX_)
#define USE_VMAX_PLUG
#endif
#if !defined(USE_WMAX_PLUG) && _STOP_IN_USE(_WMAX_)
#define USE_WMAX_PLUG
#endif
#if !defined(USE_XMIN_PLUG) && _STOP_IN_USE(_XMIN_)
#define USE_XMIN_PLUG
#endif
Expand All @@ -1728,6 +1746,24 @@
#if !defined(USE_ZMIN_PLUG) && _STOP_IN_USE(_ZMIN_)
#define USE_ZMIN_PLUG
#endif
#if !defined(USE_IMIN_PLUG) && _STOP_IN_USE(_IMIN_)
#define USE_IMIN_PLUG
#endif
#if !defined(USE_JMIN_PLUG) && _STOP_IN_USE(_JMIN_)
#define USE_JMIN_PLUG
#endif
#if !defined(USE_KMIN_PLUG) && _STOP_IN_USE(_KMIN_)
#define USE_KMIN_PLUG
#endif
#if !defined(USE_UMIN_PLUG) && _STOP_IN_USE(_UMIN_)
#define USE_UMIN_PLUG
#endif
#if !defined(USE_VMIN_PLUG) && _STOP_IN_USE(_VMIN_)
#define USE_VMIN_PLUG
#endif
#if !defined(USE_WMIN_PLUG) && _STOP_IN_USE(_WMIN_)
#define USE_WMIN_PLUG
#endif
#undef _STOP_IN_USE
#if !USES_Z_MIN_PROBE_PIN
#undef Z_MIN_PROBE_PIN
Expand Down

0 comments on commit 3c9e8e1

Please sign in to comment.