Browse Source

Fix *_CS_PIN for RAMPS_FD

Fix #9778
Scott Lahteine 7 years ago
parent
commit
e0227f2110
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/src/pins/pins_RAMPS_FD_V1.h

+ 6
- 6
Marlin/src/pins/pins_RAMPS_FD_V1.h View File

63
 #define X_STEP_PIN         63
63
 #define X_STEP_PIN         63
64
 #define X_DIR_PIN          62
64
 #define X_DIR_PIN          62
65
 #define X_ENABLE_PIN       48
65
 #define X_ENABLE_PIN       48
66
-#ifdef X_CS_PIN
66
+#ifndef X_CS_PIN
67
   #define X_CS_PIN         68
67
   #define X_CS_PIN         68
68
 #endif
68
 #endif
69
 
69
 
70
 #define Y_STEP_PIN         65
70
 #define Y_STEP_PIN         65
71
 #define Y_DIR_PIN          64
71
 #define Y_DIR_PIN          64
72
 #define Y_ENABLE_PIN       46
72
 #define Y_ENABLE_PIN       46
73
-#ifdef Y_CS_PIN
73
+#ifndef Y_CS_PIN
74
   #define Y_CS_PIN         60
74
   #define Y_CS_PIN         60
75
 #endif
75
 #endif
76
 
76
 
77
 #define Z_STEP_PIN         67
77
 #define Z_STEP_PIN         67
78
 #define Z_DIR_PIN          66
78
 #define Z_DIR_PIN          66
79
 #define Z_ENABLE_PIN       44
79
 #define Z_ENABLE_PIN       44
80
-#ifdef Z_CS_PIN
80
+#ifndef Z_CS_PIN
81
   #define Z_CS_PIN         58
81
   #define Z_CS_PIN         58
82
 #endif
82
 #endif
83
 
83
 
84
 #define E0_STEP_PIN        36
84
 #define E0_STEP_PIN        36
85
 #define E0_DIR_PIN         28
85
 #define E0_DIR_PIN         28
86
 #define E0_ENABLE_PIN      42
86
 #define E0_ENABLE_PIN      42
87
-#ifdef E0_CS_PIN
87
+#ifndef E0_CS_PIN
88
   #define E0_CS_PIN        67
88
   #define E0_CS_PIN        67
89
 #endif
89
 #endif
90
 
90
 
91
 #define E1_STEP_PIN        43
91
 #define E1_STEP_PIN        43
92
 #define E1_DIR_PIN         41
92
 #define E1_DIR_PIN         41
93
 #define E1_ENABLE_PIN      39
93
 #define E1_ENABLE_PIN      39
94
-#ifdef E1_CS_PIN
94
+#ifndef E1_CS_PIN
95
   #define E1_CS_PIN        61
95
   #define E1_CS_PIN        61
96
 #endif
96
 #endif
97
 
97
 
98
 #define E2_STEP_PIN        32
98
 #define E2_STEP_PIN        32
99
 #define E2_DIR_PIN         47
99
 #define E2_DIR_PIN         47
100
 #define E2_ENABLE_PIN      45
100
 #define E2_ENABLE_PIN      45
101
-#ifdef E2_CS_PIN
101
+#ifndef E2_CS_PIN
102
   #define E2_CS_PIN        59
102
   #define E2_CS_PIN        59
103
 #endif
103
 #endif
104
 
104
 

Loading…
Cancel
Save