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
 #ifdef ULTRA_LCD
142
 #ifdef ULTRA_LCD
143
 
143
 
144
   #ifdef NEWPANEL
144
   #ifdef NEWPANEL
145
+
145
     #ifdef PANEL_ONE
146
     #ifdef PANEL_ONE
146
       #define LCD_PINS_RS 40
147
       #define LCD_PINS_RS 40
147
       #define LCD_PINS_ENABLE 42
148
       #define LCD_PINS_ENABLE 42
158
       #define LCD_PINS_D7 29
159
       #define LCD_PINS_D7 29
159
     #endif
160
     #endif
160
 
161
 
161
-
162
     #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
162
     #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
163
       #define BEEPER 37
163
       #define BEEPER 37
164
 
164
 
220
       #endif
220
       #endif
221
 
221
 
222
     #endif
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
     #define BEEPER 33   // No Beeper added
225
     #define BEEPER 33   // No Beeper added
226
 
226
 
227
     // Buttons are attached to a shift register
227
     // Buttons are attached to a shift register
237
     #define LCD_PINS_D5 25
237
     #define LCD_PINS_D5 25
238
     #define LCD_PINS_D6 27
238
     #define LCD_PINS_D6 27
239
     #define LCD_PINS_D7 29
239
     #define LCD_PINS_D7 29
240
-  #endif
240
+
241
+  #endif // !NEWPANEL
242
+
241
 #endif // ULTRA_LCD
243
 #endif // ULTRA_LCD
242
 
244
 
243
 // SPI for Max6675 Thermocouple
245
 // SPI for Max6675 Thermocouple

Loading…
Cancel
Save