Browse Source

Cleanup of pins_RAMPS_13.h

Scott Lahteine 9 years ago
parent
commit
4b204da3c1
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      Marlin/pins_RAMPS_13.h

+ 6
- 4
Marlin/pins_RAMPS_13.h View File

@@ -142,6 +142,7 @@
142 142
 #ifdef ULTRA_LCD
143 143
 
144 144
   #ifdef NEWPANEL
145
+
145 146
     #ifdef PANEL_ONE
146 147
       #define LCD_PINS_RS 40
147 148
       #define LCD_PINS_ENABLE 42
@@ -158,7 +159,6 @@
158 159
       #define LCD_PINS_D7 29
159 160
     #endif
160 161
 
161
-
162 162
     #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
163 163
       #define BEEPER 37
164 164
 
@@ -220,8 +220,8 @@
220 220
       #endif
221 221
 
222 222
     #endif
223
-  #else // Old-style panel with shift register
224
-    // Arduino pin witch triggers an piezzo beeper
223
+  #else // !NEWPANEL (Old-style panel with shift register)
224
+    // Arduino pin to trigger a piezzo beeper
225 225
     #define BEEPER 33   // No Beeper added
226 226
 
227 227
     // Buttons are attached to a shift register
@@ -237,7 +237,9 @@
237 237
     #define LCD_PINS_D5 25
238 238
     #define LCD_PINS_D6 27
239 239
     #define LCD_PINS_D7 29
240
-  #endif
240
+
241
+  #endif // !NEWPANEL
242
+
241 243
 #endif // ULTRA_LCD
242 244
 
243 245
 // SPI for Max6675 Thermocouple

Loading…
Cancel
Save