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
 #define X_DIR_PIN          55
41
 #define X_DIR_PIN          55
42
 #define X_ENABLE_PIN       38
42
 #define X_ENABLE_PIN       38
43
 #define X_MIN_PIN           3
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
 #define Y_STEP_PIN         60
48
 #define Y_STEP_PIN         60
47
 #define Y_DIR_PIN          61
49
 #define Y_DIR_PIN          61
98
 
100
 
99
 #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) || ENABLED(G3D_PANEL)
101
 #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) || ENABLED(G3D_PANEL)
100
   #define KILL_PIN         41
102
   #define KILL_PIN         41
101
-#else
102
-  #define KILL_PIN         -1
103
 #endif
103
 #endif
104
 
104
 
105
 #if MB(RAMPS_13_EFF)
105
 #if MB(RAMPS_13_EFF)
271
   #define MISO_PIN         50
271
   #define MISO_PIN         50
272
   #define MOSI_PIN         51
272
   #define MOSI_PIN         51
273
 #endif
273
 #endif
274
+
275
+#ifndef KILL_PIN
276
+  //  #define KILL_PIN         -1
277
+#endif

Loading…
Cancel
Save