Max endstop pins disabled by configuration

There’s no need to ask users to uncomment Max Endstop pins when they
have them. These will be set to -1 later if the endstop option is
disabled.
This commit is contained in:
Scott Lahteine
2015-01-25 20:08:51 -08:00
parent 8045e4d60d
commit 82474fef8a
6 changed files with 17 additions and 19 deletions

View File

@ -10,13 +10,13 @@
#define X_DIR_PIN 63
#define X_ENABLE_PIN 29
#define X_MIN_PIN 47
#define X_MAX_PIN -1 //2 //Max endstops default to disabled "-1", set to commented value to enable.
#define X_MAX_PIN 2 //Max endstops default to disabled "-1", set to commented value to enable.
#define Y_STEP_PIN 14 // A6
#define Y_DIR_PIN 15 // A0
#define Y_ENABLE_PIN 39
#define Y_MIN_PIN 48
#define Y_MAX_PIN -1 //15
#define Y_MAX_PIN 15
#define Z_STEP_PIN 31 // A2
#define Z_DIR_PIN 32 // A6