🧑💻 Apply axis conditionals
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
#if PIN_EXISTS(MT_DET_2)
|
||||
bool mt_det2_sta;
|
||||
#endif
|
||||
#if HAS_X_MIN || HAS_X_MAX
|
||||
#if X_HOME_DIR
|
||||
bool endstopx1_sta;
|
||||
#else
|
||||
constexpr static bool endstopx1_sta = true;
|
||||
@@ -55,7 +55,7 @@
|
||||
#else
|
||||
constexpr static bool endstopx2_sta = true;
|
||||
#endif
|
||||
#if HAS_Y_MIN || HAS_Y_MAX
|
||||
#if HAS_Y_AXIS && Y_HOME_DIR
|
||||
bool endstopy1_sta;
|
||||
#else
|
||||
constexpr static bool endstopy1_sta = true;
|
||||
@@ -65,7 +65,7 @@
|
||||
#else
|
||||
constexpr static bool endstopy2_sta = true;
|
||||
#endif
|
||||
#if HAS_Z_MIN || HAS_Z_MAX
|
||||
#if HAS_Z_AXIS && Z_HOME_DIR
|
||||
bool endstopz1_sta;
|
||||
#else
|
||||
constexpr static bool endstopz1_sta = true;
|
||||
|
||||
Reference in New Issue
Block a user