Browse Source

Provide a good default contrast

In reference to #15139
Scott Lahteine 5 years ago
parent
commit
060b360be3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/dogm/ultralcd_DOGM.cpp

+ 1
- 1
Marlin/src/lcd/dogm/ultralcd_DOGM.cpp View File

81
 
81
 
82
 #if HAS_LCD_CONTRAST
82
 #if HAS_LCD_CONTRAST
83
 
83
 
84
-  int16_t MarlinUI::contrast; // Initialized by settings.load()
84
+  int16_t MarlinUI::contrast = DEFAULT_LCD_CONTRAST;
85
 
85
 
86
   void MarlinUI::set_contrast(const int16_t value) {
86
   void MarlinUI::set_contrast(const int16_t value) {
87
     contrast = constrain(value, LCD_CONTRAST_MIN, LCD_CONTRAST_MAX);
87
     contrast = constrain(value, LCD_CONTRAST_MIN, LCD_CONTRAST_MAX);

Loading…
Cancel
Save