Browse Source

Patch compile error for RAMPS LCD pins

Scott Lahteine 9 years ago
parent
commit
5e3d3918b6
1 changed files with 9 additions and 7 deletions
  1. 9
    7
      Marlin/pins_RAMPS_14.h

+ 9
- 7
Marlin/pins_RAMPS_14.h View File

149
     #define LCD_PINS_D6 44
149
     #define LCD_PINS_D6 44
150
     #define LCD_PINS_D7 64
150
     #define LCD_PINS_D7 64
151
   #else
151
   #else
152
-    #define BEEPER_PIN 33
153
     #define LCD_PINS_RS 16
152
     #define LCD_PINS_RS 16
154
     #define LCD_PINS_ENABLE 17
153
     #define LCD_PINS_ENABLE 17
155
     #define LCD_PINS_D4 23
154
     #define LCD_PINS_D4 23
156
     #define LCD_PINS_D5 25
155
     #define LCD_PINS_D5 25
157
     #define LCD_PINS_D6 27
156
     #define LCD_PINS_D6 27
158
     #define LCD_PINS_D7 29
157
     #define LCD_PINS_D7 29
159
-    // Buttons are attached to a shift register
160
-    // Not wired yet
161
-    //#define SHIFT_CLK 38
162
-    //#define SHIFT_LD 42
163
-    //#define SHIFT_OUT 40
164
-    //#define SHIFT_EN 17
158
+    #if DISABLED(NEWPANEL)
159
+      #define BEEPER_PIN 33
160
+      // Buttons are attached to a shift register
161
+      // Not wired yet
162
+      //#define SHIFT_CLK 38
163
+      //#define SHIFT_LD 42
164
+      //#define SHIFT_OUT 40
165
+      //#define SHIFT_EN 17
166
+    #endif
165
   #endif
167
   #endif
166
 
168
 
167
   #if ENABLED(NEWPANEL)
169
   #if ENABLED(NEWPANEL)

Loading…
Cancel
Save