Skip to content

Commit

Permalink
Fix BQ_LCD_SMART_CONTROLLER pin compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jun 10, 2016
1 parent 5b5aa15 commit a82c755
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
17 changes: 0 additions & 17 deletions Marlin/pins_BQ_ZUM_MEGA_3D.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,6 @@
#undef PS_ON_PIN // 12
#define PS_ON_PIN 81 // External Power Supply

#if ENABLED(BQ_LCD_SMART_CONTROLLER) // Most similar to REPRAP_DISCOUNT_SMART_CONTROLLER
#define KILL_PIN 41

#define BEEPER_PIN 37

#define BTN_EN1 31
#define BTN_EN2 33
#define BTN_ENC 35

#define LCD_PIN_BL 39
#define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23

#define SD_DETECT_PIN 49
#endif

#if ENABLED(AUTO_BED_LEVELING_FEATURE)
#undef Z_MIN_PIN
#undef Z_MAX_PIN
Expand Down
15 changes: 7 additions & 8 deletions Marlin/pins_RAMPS_14.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@

#define PS_ON_PIN 12

#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) || ENABLED(G3D_PANEL)
#define KILL_PIN 41
#endif

#if MB(RAMPS_14_EFF) || MB(RAMPS_13_EFF)
#define HEATER_0_PIN 8
#else
Expand Down Expand Up @@ -168,6 +164,12 @@
#define BTN_ENC 35

#define SD_DETECT_PIN 49
#define KILL_PIN 41

#if ENABLED(BQ_LCD_SMART_CONTROLLER)
#define LCD_PIN_BL 39
#endif

#elif ENABLED(LCD_I2C_PANELOLU2)
#define BTN_EN1 47 // reverse if the encoder turns the wrong way.
#define BTN_EN2 43
Expand Down Expand Up @@ -241,6 +243,7 @@

#if ENABLED(G3D_PANEL)
#define SD_DETECT_PIN 49
#define KILL_PIN 41
#else
// #define SD_DETECT_PIN -1 // Ramps doesn't use this
#endif
Expand Down Expand Up @@ -282,7 +285,3 @@
#define MISO_PIN 50
#define MOSI_PIN 51
#endif

#ifndef KILL_PIN
// #define KILL_PIN -1
#endif

0 comments on commit a82c755

Please sign in to comment.