Browse Source

Patch compile error for RAMPS LCD pins

Scott Lahteine 7 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,19 +149,21 @@
149 149
     #define LCD_PINS_D6 44
150 150
     #define LCD_PINS_D7 64
151 151
   #else
152
-    #define BEEPER_PIN 33
153 152
     #define LCD_PINS_RS 16
154 153
     #define LCD_PINS_ENABLE 17
155 154
     #define LCD_PINS_D4 23
156 155
     #define LCD_PINS_D5 25
157 156
     #define LCD_PINS_D6 27
158 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 167
   #endif
166 168
 
167 169
   #if ENABLED(NEWPANEL)

Loading…
Cancel
Save