chiark / gitweb /
Added DISABLE_MAX_ENDSTOPS
authorErik van der Zalm <erik@vdzalm.eu>
Mon, 12 Mar 2012 19:32:14 +0000 (20:32 +0100)
committerErik van der Zalm <erik@vdzalm.eu>
Mon, 12 Mar 2012 19:32:14 +0000 (20:32 +0100)
Marlin/Configuration.h
Marlin/pins.h

index 2320dcebcd32f0dc659ec186571580a2536a6ac2..eed528cb8c468b2fed133c05b661acad169b5250 100644 (file)
 const bool X_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops. 
 const bool Y_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops. 
 const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops. 
+#define DISABLE_MAX_ENDSTOPS
 
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
 #define X_ENABLE_ON 0
index cad3ade38d0bc7cb62b353a4f1c6b581d12b6e18..ff43a6278cead64f28d971e00a716784dc456fb1 100644 (file)
   #define _E2_PINS
 #endif
 
+#ifdef DISABLE_MAX_ENDSTOPS
+#define X_MAX_PIN          -1
+#define Y_MAX_PIN          -1
+#define Z_MAX_PIN          -1
+#endif
+
 #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, LED_PIN, PS_ON_PIN, \
                         HEATER_BED_PIN, FAN_PIN,                  \
                         _E0_PINS _E1_PINS _E2_PINS             \