Browse Source

🩹 Use LCD_CONTRAST_INIT in pins files

Scott Lahteine 3 years ago
parent
commit
2af7657214

+ 1
- 1
Marlin/src/pins/mega/pins_GT2560_REV_A.h View File

127
 
127
 
128
       #define LCD_RESET_PIN                   16
128
       #define LCD_RESET_PIN                   16
129
 
129
 
130
-      #define LCD_CONTRAST_DEFAULT           220
130
+      #define LCD_CONTRAST_INIT              220
131
 
131
 
132
       #define LCD_BACKLIGHT_PIN               -1
132
       #define LCD_BACKLIGHT_PIN               -1
133
     #else
133
     #else

+ 1
- 1
Marlin/src/pins/ramps/pins_K8800.h View File

107
 
107
 
108
   #define LCD_CONTRAST_MIN                     0
108
   #define LCD_CONTRAST_MIN                     0
109
   #define LCD_CONTRAST_MAX                   100
109
   #define LCD_CONTRAST_MAX                   100
110
-  #define LCD_CONTRAST_DEFAULT                30
110
+  #define LCD_CONTRAST_INIT                   30
111
   //#define LCD_SCREEN_ROTATE                180  // 0, 90, 180, 270
111
   //#define LCD_SCREEN_ROTATE                180  // 0, 90, 180, 270
112
 
112
 
113
   #if IS_NEWPANEL
113
   #if IS_NEWPANEL

+ 1
- 1
Marlin/src/pins/stm32f4/pins_ARTILLERY_RUBY.h View File

157
       #define NEOPIXEL_PIN                  PB9
157
       #define NEOPIXEL_PIN                  PB9
158
     #endif
158
     #endif
159
 
159
 
160
-    #define LCD_CONTRAST_DEFAULT             255
160
+    #define LCD_CONTRAST_INIT                255
161
   #else
161
   #else
162
     #define LCD_PINS_RS                     PC15
162
     #define LCD_PINS_RS                     PC15
163
     #define LCD_PINS_ENABLE                 PB6
163
     #define LCD_PINS_ENABLE                 PB6

Loading…
Cancel
Save