Browse Source

Prepare Ramps for user redefinition

Richard Wackerbarth 8 years ago
parent
commit
3b2973da6a
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      Marlin/pins_RAMPS_13.h

+ 7
- 3
Marlin/pins_RAMPS_13.h View File

@@ -41,7 +41,9 @@
41 41
 #define X_DIR_PIN          55
42 42
 #define X_ENABLE_PIN       38
43 43
 #define X_MIN_PIN           3
44
-#define X_MAX_PIN           2
44
+#ifndef X_MAX_PIN
45
+  #define X_MAX_PIN         2
46
+#endif
45 47
 
46 48
 #define Y_STEP_PIN         60
47 49
 #define Y_DIR_PIN          61
@@ -98,8 +100,6 @@
98 100
 
99 101
 #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) || ENABLED(G3D_PANEL)
100 102
   #define KILL_PIN         41
101
-#else
102
-  #define KILL_PIN         -1
103 103
 #endif
104 104
 
105 105
 #if MB(RAMPS_13_EFF)
@@ -271,3 +271,7 @@
271 271
   #define MISO_PIN         50
272 272
   #define MOSI_PIN         51
273 273
 #endif
274
+
275
+#ifndef KILL_PIN
276
+  //  #define KILL_PIN         -1
277
+#endif

Loading…
Cancel
Save