Browse Source

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

Remove duplicates, with followup fixes
pull/1/head
Vitaliy Sapyanov 7 years ago
committed by Scott Lahteine
parent
commit
7f88334aa3
  1. 28
      Marlin/src/pins/pins_RURAMPS4D.h

28
Marlin/src/pins/pins_RURAMPS4D.h

@ -39,19 +39,6 @@
#ifndef BOARD_NAME #ifndef BOARD_NAME
#define BOARD_NAME "RuRAMPS4Due" #define BOARD_NAME "RuRAMPS4Due"
#endif #endif
#define RURAMPS4DUE // #1550 in boards.h
#undef INVERTED_HEATER_PINS
#undef INVERTED_BED_PINS
#undef INVERTED_FAN_PINS
//
// Servos
//
#define SERVO0_PIN 5
#define SERVO1_PIN 3
#define SERVO2_PIN -1
#define SERVO3_PIN 1
// //
// Limit Switches // Limit Switches
@ -60,7 +47,7 @@
#define X_MAX_PIN 39 #define X_MAX_PIN 39
#define Y_MIN_PIN 46 #define Y_MIN_PIN 46
#define Y_MAX_PIN 41 #define Y_MAX_PIN 41
#define Z_MIN_PIN 49 #define Z_MIN_PIN 47
#define Z_MAX_PIN 43 #define Z_MAX_PIN 43
// //
@ -116,16 +103,6 @@
//#define Z2_MS2_PIN ? // shared with E3_MS2_PIN //#define Z2_MS2_PIN ? // shared with E3_MS2_PIN
//#define Z2_MS3_PIN ? // shared with E3_MS3_PIN //#define Z2_MS3_PIN ? // shared with E3_MS3_PIN
//
// Limit Switches
//
#define X_MIN_PIN 45
#define X_MAX_PIN 39
#define Y_MIN_PIN 46
#define Y_MAX_PIN 41
#define Z_MIN_PIN 47
#define Z_MAX_PIN 43
#if !ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) #if !ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
#define Z_PROBE_PIN 49 #define Z_PROBE_PIN 49
#endif // else Z_PROBE_PIN = Z_MIN_PIN #endif // else Z_PROBE_PIN = Z_MIN_PIN
@ -182,9 +159,7 @@
// //
#define SDSS 4 // 4,10,52 if using HW SPI. #define SDSS 4 // 4,10,52 if using HW SPI.
#define LED_PIN -1 // 13 - HEATER_0_PIN #define LED_PIN -1 // 13 - HEATER_0_PIN
#define SDPOWER -1
#define PS_ON_PIN -1 // 65 #define PS_ON_PIN -1 // 65
#define KILL_PIN -1
// MKS TFT / Nextion Use internal USART-1 // MKS TFT / Nextion Use internal USART-1
#define TFT_LCD_MODULE_COM 1 #define TFT_LCD_MODULE_COM 1
@ -247,6 +222,7 @@
#define BTN_ENC 40 #define BTN_ENC 40
#define SD_DETECT_PIN 51 #define SD_DETECT_PIN 51
#endif #endif
#elif ENABLED(SSD1306_OLED_I2C_CONTROLLER) #elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
#define BTN_EN1 44 #define BTN_EN1 44
#define BTN_EN2 42 #define BTN_EN2 42

Loading…
Cancel
Save