Browse Source

Minor corrections to 32-bit branch (#7514)

Mostly...  clean up some compile time warnings for the 20x4 LCD Display.
Roxy-3D 6 years ago
parent
commit
8587c4e1ec
1 changed files with 9 additions and 7 deletions
  1. 9
    7
      Marlin/pins_RAMPS_RE_ARM.h

+ 9
- 7
Marlin/pins_RAMPS_RE_ARM.h View File

@@ -232,7 +232,7 @@
232 232
 
233 233
   #define BEEPER_PIN          37  // not 5V tolerant
234 234
 
235
-  //#define BTN_EN1             31  // J3-2 & AUX-4
235
+  #define BTN_EN1             31  // J3-2 & AUX-4
236 236
   #define BTN_EN2             33  // J3-4 & AUX-4
237 237
   #define BTN_ENC             35  // J3-3 & AUX-4
238 238
 
@@ -244,15 +244,15 @@
244 244
   #define LCD_PINS_ENABLE     51  // (MOSI) J3-10 & AUX-3
245 245
   #define LCD_PINS_D4         52  // (SCK)  J3-9 & AUX-3
246 246
 
247
-  #define LCD_PINS_D5         59  // J3-8 & AUX-2
248 247
   #define DOGLCD_A0           59  // J3-8 & AUX-2
249
-  #define LCD_PINS_D6         63  // J5-3 & AUX-2
250 248
   #define DOGLCD_CS           63  // J5-3 & AUX-2
251
-  #define LCD_PINS_D7          6  // (SERVO1) J5-1 & SERVO connector  
249
+
250
+#ifdef ULTIPANEL
252 251
   
253 252
   #define LCD_PINS_D5         71  // ENET_MDIO
254 253
   #define LCD_PINS_D6         73  // ENET_RX_ER
255 254
   #define LCD_PINS_D7         75  // ENET_RXD1
255
+#endif
256 256
  
257 257
   #if ENABLED(NEWPANEL)
258 258
     #if ENABLED(REPRAPWORLD_KEYPAD)
@@ -336,12 +336,14 @@
336 336
 //
337 337
 // Ethernet pins
338 338
 //
339
-#define ENET_MOC    70  // J12-3
339
+#ifndef ULTIPANEL
340 340
 #define ENET_MDIO   71  // J12-4
341
-#define REF_CLK     72  // J12-5
342 341
 #define ENET_RX_ER  73  // J12-6
343
-#define ENET_RXD0   74  // J12-7
344 342
 #define ENET_RXD1   75  // J12-8
343
+#endif
344
+#define ENET_MOC    70  // J12-3
345
+#define REF_CLK     72  // J12-5
346
+#define ENET_RXD0   74  // J12-7
345 347
 #define ENET_CRS    76  // J12-9
346 348
 #define ENET_TX_EN  77  // J12-10
347 349
 #define ENET_TXD0   78  // J12-11

Loading…
Cancel
Save