feat: improved OLED brightness handling (#3773)
This commit is contained in:
@@ -979,6 +979,10 @@ void lcdSetContrast(bool useDefault)
|
||||
{
|
||||
#if defined(BOOT)
|
||||
lcdSetRefVolt(LCD_CONTRAST_DEFAULT);
|
||||
#elif defined(OLED_SCREEN)
|
||||
// Handled by brightness feature
|
||||
if (useDefault)
|
||||
lcdSetRefVolt(LCD_CONTRAST_DEFAULT);
|
||||
#else
|
||||
lcdSetRefVolt(useDefault ? LCD_CONTRAST_DEFAULT : g_eeGeneral.contrast);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user