Browse Source

Done cleanup and removed duplicates in pins_RuRAMPS4D.h (#8582)

Remove duplicates, with followup fixes
Vitaliy Sapyanov 7 years ago
parent
commit
7f88334aa3
1 changed files with 3 additions and 27 deletions
  1. 3
    27
      Marlin/src/pins/pins_RURAMPS4D.h

+ 3
- 27
Marlin/src/pins/pins_RURAMPS4D.h View File

39
 #ifndef BOARD_NAME
39
 #ifndef BOARD_NAME
40
   #define BOARD_NAME       "RuRAMPS4Due"
40
   #define BOARD_NAME       "RuRAMPS4Due"
41
 #endif
41
 #endif
42
-#define RURAMPS4DUE        // #1550 in boards.h
43
-
44
-#undef INVERTED_HEATER_PINS
45
-#undef INVERTED_BED_PINS
46
-#undef INVERTED_FAN_PINS
47
-
48
-//
49
-// Servos
50
-//
51
-#define SERVO0_PIN          5
52
-#define SERVO1_PIN          3
53
-#define SERVO2_PIN         -1
54
-#define SERVO3_PIN          1
55
 
42
 
56
 //
43
 //
57
 // Limit Switches
44
 // Limit Switches
60
 #define X_MAX_PIN          39
47
 #define X_MAX_PIN          39
61
 #define Y_MIN_PIN          46
48
 #define Y_MIN_PIN          46
62
 #define Y_MAX_PIN          41
49
 #define Y_MAX_PIN          41
63
-#define Z_MIN_PIN          49
50
+#define Z_MIN_PIN          47
64
 #define Z_MAX_PIN          43
51
 #define Z_MAX_PIN          43
65
 
52
 
66
 //
53
 //
116
 //#define Z2_MS2_PIN         ? // shared with E3_MS2_PIN
103
 //#define Z2_MS2_PIN         ? // shared with E3_MS2_PIN
117
 //#define Z2_MS3_PIN         ? // shared with E3_MS3_PIN
104
 //#define Z2_MS3_PIN         ? // shared with E3_MS3_PIN
118
 
105
 
119
-//
120
-// Limit Switches
121
-//
122
-#define X_MIN_PIN          45
123
-#define X_MAX_PIN          39
124
-#define Y_MIN_PIN          46
125
-#define Y_MAX_PIN          41
126
-#define Z_MIN_PIN          47
127
-#define Z_MAX_PIN          43
128
-
129
 #if !ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
106
 #if !ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
130
   #define Z_PROBE_PIN      49
107
   #define Z_PROBE_PIN      49
131
 #endif // else Z_PROBE_PIN = Z_MIN_PIN
108
 #endif // else Z_PROBE_PIN = Z_MIN_PIN
144
 #define HEATER_2_PIN       11
121
 #define HEATER_2_PIN       11
145
 #define HEATER_BED_PIN      7  // BED H1
122
 #define HEATER_BED_PIN      7  // BED H1
146
 
123
 
147
-#define FAN_PIN	            9
124
+#define FAN_PIN             9
148
 #define FAN1_PIN            8
125
 #define FAN1_PIN            8
149
 #define CONTROLLER_FAN_PIN -1
126
 #define CONTROLLER_FAN_PIN -1
150
 
127
 
182
 //
159
 //
183
 #define SDSS                4 // 4,10,52 if using HW SPI.
160
 #define SDSS                4 // 4,10,52 if using HW SPI.
184
 #define LED_PIN            -1 // 13 - HEATER_0_PIN
161
 #define LED_PIN            -1 // 13 - HEATER_0_PIN
185
-#define SDPOWER	           -1
186
 #define PS_ON_PIN          -1 // 65
162
 #define PS_ON_PIN          -1 // 65
187
-#define KILL_PIN           -1
188
 
163
 
189
 // MKS TFT / Nextion Use internal USART-1
164
 // MKS TFT / Nextion Use internal USART-1
190
 #define TFT_LCD_MODULE_COM        1
165
 #define TFT_LCD_MODULE_COM        1
247
      #define BTN_ENC        40
222
      #define BTN_ENC        40
248
      #define SD_DETECT_PIN  51
223
      #define SD_DETECT_PIN  51
249
     #endif
224
     #endif
225
+
250
   #elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
226
   #elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
251
     #define BTN_EN1         44
227
     #define BTN_EN1         44
252
     #define BTN_EN2         42
228
     #define BTN_EN2         42

Loading…
Cancel
Save