Skip to content

Commit 08edb62

Browse files
committed
🔧 Extra axis endstop defaults
1 parent a4cc9b6 commit 08edb62

File tree

2 files changed

+72
-0
lines changed

2 files changed

+72
-0
lines changed

Marlin/src/inc/Conditionals_post.h

+36
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,24 @@
10851085
#if ENABLED(USE_ZMAX_PLUG)
10861086
#define ENDSTOPPULLDOWN_ZMAX
10871087
#endif
1088+
#if ENABLED(USE_IMAX_PLUG)
1089+
#define ENDSTOPPULLDOWN_IMAX
1090+
#endif
1091+
#if ENABLED(USE_JMAX_PLUG)
1092+
#define ENDSTOPPULLDOWN_JMAX
1093+
#endif
1094+
#if ENABLED(USE_KMAX_PLUG)
1095+
#define ENDSTOPPULLDOWN_KMAX
1096+
#endif
1097+
#if ENABLED(USE_UMAX_PLUG)
1098+
#define ENDSTOPPULLDOWN_UMAX
1099+
#endif
1100+
#if ENABLED(USE_VMAX_PLUG)
1101+
#define ENDSTOPPULLDOWN_VMAX
1102+
#endif
1103+
#if ENABLED(USE_WMAX_PLUG)
1104+
#define ENDSTOPPULLDOWN_WMAX
1105+
#endif
10881106
#if ENABLED(USE_XMIN_PLUG)
10891107
#define ENDSTOPPULLDOWN_XMIN
10901108
#endif
@@ -1094,6 +1112,24 @@
10941112
#if ENABLED(USE_ZMIN_PLUG)
10951113
#define ENDSTOPPULLDOWN_ZMIN
10961114
#endif
1115+
#if ENABLED(USE_IMIN_PLUG)
1116+
#define ENDSTOPPULLDOWN_IMIN
1117+
#endif
1118+
#if ENABLED(USE_JMIN_PLUG)
1119+
#define ENDSTOPPULLDOWN_JMIN
1120+
#endif
1121+
#if ENABLED(USE_KMIN_PLUG)
1122+
#define ENDSTOPPULLDOWN_KMIN
1123+
#endif
1124+
#if ENABLED(USE_UMIN_PLUG)
1125+
#define ENDSTOPPULLDOWN_UMIN
1126+
#endif
1127+
#if ENABLED(USE_VMIN_PLUG)
1128+
#define ENDSTOPPULLDOWN_VMIN
1129+
#endif
1130+
#if ENABLED(USE_WMIN_PLUG)
1131+
#define ENDSTOPPULLDOWN_WMIN
1132+
#endif
10971133
#endif
10981134

10991135
/**

Marlin/src/pins/pins_postprocess.h

+36
Original file line numberDiff line numberDiff line change
@@ -1723,6 +1723,24 @@
17231723
#if !defined(USE_ZMAX_PLUG) && _STOP_IN_USE(_ZMAX_)
17241724
#define USE_ZMAX_PLUG
17251725
#endif
1726+
#if !defined(USE_IMAX_PLUG) && _STOP_IN_USE(_IMAX_)
1727+
#define USE_IMAX_PLUG
1728+
#endif
1729+
#if !defined(USE_JMAX_PLUG) && _STOP_IN_USE(_JMAX_)
1730+
#define USE_JMAX_PLUG
1731+
#endif
1732+
#if !defined(USE_KMAX_PLUG) && _STOP_IN_USE(_KMAX_)
1733+
#define USE_KMAX_PLUG
1734+
#endif
1735+
#if !defined(USE_UMAX_PLUG) && _STOP_IN_USE(_UMAX_)
1736+
#define USE_UMAX_PLUG
1737+
#endif
1738+
#if !defined(USE_VMAX_PLUG) && _STOP_IN_USE(_VMAX_)
1739+
#define USE_VMAX_PLUG
1740+
#endif
1741+
#if !defined(USE_WMAX_PLUG) && _STOP_IN_USE(_WMAX_)
1742+
#define USE_WMAX_PLUG
1743+
#endif
17261744
#if !defined(USE_XMIN_PLUG) && _STOP_IN_USE(_XMIN_)
17271745
#define USE_XMIN_PLUG
17281746
#endif
@@ -1732,6 +1750,24 @@
17321750
#if !defined(USE_ZMIN_PLUG) && _STOP_IN_USE(_ZMIN_)
17331751
#define USE_ZMIN_PLUG
17341752
#endif
1753+
#if !defined(USE_IMIN_PLUG) && _STOP_IN_USE(_IMIN_)
1754+
#define USE_IMIN_PLUG
1755+
#endif
1756+
#if !defined(USE_JMIN_PLUG) && _STOP_IN_USE(_JMIN_)
1757+
#define USE_JMIN_PLUG
1758+
#endif
1759+
#if !defined(USE_KMIN_PLUG) && _STOP_IN_USE(_KMIN_)
1760+
#define USE_KMIN_PLUG
1761+
#endif
1762+
#if !defined(USE_UMIN_PLUG) && _STOP_IN_USE(_UMIN_)
1763+
#define USE_UMIN_PLUG
1764+
#endif
1765+
#if !defined(USE_VMIN_PLUG) && _STOP_IN_USE(_VMIN_)
1766+
#define USE_VMIN_PLUG
1767+
#endif
1768+
#if !defined(USE_WMIN_PLUG) && _STOP_IN_USE(_WMIN_)
1769+
#define USE_WMIN_PLUG
1770+
#endif
17351771
#undef _STOP_IN_USE
17361772
#if !USES_Z_MIN_PROBE_PIN
17371773
#undef Z_MIN_PROBE_PIN

0 commit comments

Comments
 (0)