🐛 E3V2 Brightness followup (#22821)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
Miguel Risco-CastilloandScott Lahteine authored and Scott Lahteine committed 2021-10-02 22:31:15 -05:00
1 parent e705a7724e
commit 89898181bd
16 files changed
+82 -63

No files matched your search

+1 -8
View File
@@ -93,14 +93,7 @@ U8G_CLASS u8g;
#endif
#if HAS_LCD_CONTRAST
int16_t MarlinUI::contrast = DEFAULT_LCD_CONTRAST;
void MarlinUI::set_contrast(const int16_t value) {
contrast = constrain(value, LCD_CONTRAST_MIN, LCD_CONTRAST_MAX);
u8g.setContrast(contrast);
}
void MarlinUI::_set_contrast() { u8g.setContrast(contrast); }
#endif
void MarlinUI::set_font(const MarlinFont font_nr) {