Переглянути джерело

Added DISABLE_MIN_ENDSTOPS

Erik van der Zalm 11 роки тому
джерело
коміт
2015989f84
2 змінених файлів з 7 додано та 0 видалено
  1. 1
    0
      Marlin/Configuration.h
  2. 6
    0
      Marlin/pins.h

+ 1
- 0
Marlin/Configuration.h Переглянути файл

@@ -279,6 +279,7 @@ const bool X_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
279 279
 const bool Y_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
280 280
 const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
281 281
 //#define DISABLE_MAX_ENDSTOPS
282
+//#define DISABLE_MIN_ENDSTOPS
282 283
 
283 284
 // Disable max endstops for compatibility with endstop checking routine
284 285
 #if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)

+ 6
- 0
Marlin/pins.h Переглянути файл

@@ -2047,6 +2047,12 @@
2047 2047
 #define Z_MAX_PIN          -1
2048 2048
 #endif
2049 2049
 
2050
+#ifdef DISABLE_MIN_ENDSTOPS
2051
+#define X_MIN_PIN          -1
2052
+#define Y_MIN_PIN          -1
2053
+#define Z_MIN_PIN          -1
2054
+#endif
2055
+
2050 2056
 #define SENSITIVE_PINS {0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, PS_ON_PIN, \
2051 2057
                         HEATER_BED_PIN, FAN_PIN,                  \
2052 2058
                         _E0_PINS _E1_PINS _E2_PINS             \

Завантаження…
Відмінити
Зберегти