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

Loading…
Cancel
Save