Skip to content

Commit

Permalink
Modify a few things to merge nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanityAutomation committed Apr 26, 2018
1 parent c6d99c7 commit 3bdca87
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions Marlin/pins_RAMPS.h
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@
#else
#define SD_DETECT_PIN -1
#endif
#define KILL_PIN 41
#define KILL_PIN 41

#if ENABLED(BQ_LCD_SMART_CONTROLLER)
#define LCD_BACKLIGHT_PIN 39
#endif
Expand All @@ -439,11 +440,10 @@
#define BTN_EN2 59
#define BTN_ENC 63
#if(ENABLED(BoardRev2))
#define SD_DETECT_PIN 49
#define SD_DETECT_PIN 42
#else
#define SD_DETECT_PIN -1
#endif
#define KILL_PIN 41

#elif ENABLED(LCD_I2C_PANELOLU2)

Expand All @@ -459,8 +459,8 @@
#define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
#define BTN_ENC -1

#define LCD_SDSS SDSS
//#define SD_DETECT_PIN 49
#define LCD_SDSS 53
#define SD_DETECT_PIN 49

#elif ENABLED(VIKI2) || ENABLED(miniVIKI)

Expand All @@ -476,7 +476,8 @@
#define BTN_EN2 7
#define BTN_ENC 39

#define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board
#define SDSS 53
#define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board
#define KILL_PIN 31

#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
Expand All @@ -491,7 +492,7 @@
#define BTN_EN2 37
#define BTN_ENC 31

#define LCD_SDSS SDSS
#define LCD_SDSS 53
#if(ENABLED(BoardRev2))
#define SD_DETECT_PIN 49
#else
Expand Down Expand Up @@ -519,12 +520,13 @@
#define BTN_EN2 33
#define BTN_ENC 35

#define SDSS 53
#if(ENABLED(BoardRev2))
#define SD_DETECT_PIN 49
#else
#define SD_DETECT_PIN -1
#endif
#define KILL_PIN 41
#define KILL_PIN 64

#elif ENABLED(MINIPANEL)

Expand All @@ -545,13 +547,13 @@
#define BTN_EN1 40
#define BTN_EN2 63
#define BTN_ENC 59

#define SDSS 53
#if(ENABLED(BoardRev2))
#define SD_DETECT_PIN 49
#else
#define SD_DETECT_PIN -1
#endif
#define KILL_PIN 41
#define KILL_PIN 64

#elif ENABLED(ZONESTAR_LCD)

Expand Down

0 comments on commit 3bdca87

Please sign in to comment.