Browse Source

Fix pins debug of CS/MS pins

Scott Lahteine 5 years ago
parent
commit
9e8021d6a4
1 changed files with 52 additions and 0 deletions
  1. 52
    0
      Marlin/src/pins/pins.h

+ 52
- 0
Marlin/src/pins/pins.h View File

1007
   #define Y2_E_INDEX E_STEPPERS
1007
   #define Y2_E_INDEX E_STEPPERS
1008
 #endif
1008
 #endif
1009
 
1009
 
1010
+#ifndef X2_CS_PIN
1011
+  #define X2_CS_PIN  -1
1012
+#endif
1013
+#ifndef X2_MS1_PIN
1014
+  #define X2_MS1_PIN -1
1015
+#endif
1016
+#ifndef X2_MS2_PIN
1017
+  #define X2_MS2_PIN -1
1018
+#endif
1019
+#ifndef X2_MS3_PIN
1020
+  #define X2_MS3_PIN -1
1021
+#endif
1022
+
1010
 // The Y2 axis, if any, should be the next open extruder port
1023
 // The Y2 axis, if any, should be the next open extruder port
1011
 #if ENABLED(Y_DUAL_STEPPER_DRIVERS)
1024
 #if ENABLED(Y_DUAL_STEPPER_DRIVERS)
1012
   #ifndef Y2_STEP_PIN
1025
   #ifndef Y2_STEP_PIN
1042
   #define Z2_E_INDEX Y2_E_INDEX
1055
   #define Z2_E_INDEX Y2_E_INDEX
1043
 #endif
1056
 #endif
1044
 
1057
 
1058
+#ifndef Y2_CS_PIN
1059
+  #define Y2_CS_PIN  -1
1060
+#endif
1061
+#ifndef Y2_MS1_PIN
1062
+  #define Y2_MS1_PIN -1
1063
+#endif
1064
+#ifndef Y2_MS2_PIN
1065
+  #define Y2_MS2_PIN -1
1066
+#endif
1067
+#ifndef Y2_MS3_PIN
1068
+  #define Y2_MS3_PIN -1
1069
+#endif
1070
+
1045
 // The Z2 axis, if any, should be the next open extruder port
1071
 // The Z2 axis, if any, should be the next open extruder port
1046
 #if Z_MULTI_STEPPER_DRIVERS
1072
 #if Z_MULTI_STEPPER_DRIVERS
1047
   #ifndef Z2_STEP_PIN
1073
   #ifndef Z2_STEP_PIN
1077
   #define Z3_E_INDEX Z2_E_INDEX
1103
   #define Z3_E_INDEX Z2_E_INDEX
1078
 #endif
1104
 #endif
1079
 
1105
 
1106
+#ifndef Z2_CS_PIN
1107
+  #define Z2_CS_PIN  -1
1108
+#endif
1109
+#ifndef Z2_MS1_PIN
1110
+  #define Z2_MS1_PIN -1
1111
+#endif
1112
+#ifndef Z2_MS2_PIN
1113
+  #define Z2_MS2_PIN -1
1114
+#endif
1115
+#ifndef Z2_MS3_PIN
1116
+  #define Z2_MS3_PIN -1
1117
+#endif
1118
+
1080
 #if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
1119
 #if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
1081
   #ifndef Z3_STEP_PIN
1120
   #ifndef Z3_STEP_PIN
1082
     #define Z3_STEP_PIN   _EPIN(Z3_E_INDEX, STEP)
1121
     #define Z3_STEP_PIN   _EPIN(Z3_E_INDEX, STEP)
1108
   #endif
1147
   #endif
1109
 #endif
1148
 #endif
1110
 
1149
 
1150
+#ifndef Z3_CS_PIN
1151
+  #define Z3_CS_PIN  -1
1152
+#endif
1153
+#ifndef Z3_MS1_PIN
1154
+  #define Z3_MS1_PIN -1
1155
+#endif
1156
+#ifndef Z3_MS2_PIN
1157
+  #define Z3_MS2_PIN -1
1158
+#endif
1159
+#ifndef Z3_MS3_PIN
1160
+  #define Z3_MS3_PIN -1
1161
+#endif
1162
+
1111
 #undef HAS_FREE_AUX2_PINS
1163
 #undef HAS_FREE_AUX2_PINS

Loading…
Cancel
Save