From 4b204da3c1445e857feb616dafa0cc6d2db2bb38 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 8 Jul 2015 15:33:28 -0700 Subject: [PATCH] Cleanup of pins_RAMPS_13.h --- Marlin/pins_RAMPS_13.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Marlin/pins_RAMPS_13.h b/Marlin/pins_RAMPS_13.h index 9f4313ffd..e56ebdead 100644 --- a/Marlin/pins_RAMPS_13.h +++ b/Marlin/pins_RAMPS_13.h @@ -142,6 +142,7 @@ #ifdef ULTRA_LCD #ifdef NEWPANEL + #ifdef PANEL_ONE #define LCD_PINS_RS 40 #define LCD_PINS_ENABLE 42 @@ -158,7 +159,6 @@ #define LCD_PINS_D7 29 #endif - #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER #define BEEPER 37 @@ -220,8 +220,8 @@ #endif #endif - #else // Old-style panel with shift register - // Arduino pin witch triggers an piezzo beeper + #else // !NEWPANEL (Old-style panel with shift register) + // Arduino pin to trigger a piezzo beeper #define BEEPER 33 // No Beeper added // Buttons are attached to a shift register @@ -237,7 +237,9 @@ #define LCD_PINS_D5 25 #define LCD_PINS_D6 27 #define LCD_PINS_D7 29 - #endif + + #endif // !NEWPANEL + #endif // ULTRA_LCD // SPI for Max6675 Thermocouple