🧑‍💻 Apply axis conditionals

This commit is contained in:
Scott Lahteine
2022-01-02 09:22:36 -06:00
parent 91909163ee
commit e65c12cf96
29 changed files with 220 additions and 231 deletions

View File

@@ -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;