feat: improved OLED brightness handling (#3773)

This commit is contained in:
3djc
2023-08-12 11:17:50 +02:00
committed by GitHub
parent f1968f9857
commit 3342d21195
7 changed files with 37 additions and 8 deletions
+1 -1
View File
@@ -1068,7 +1068,7 @@ void evalMixes(uint8_t tick10ms)
// must be done before limits because of the applyLimit function: it checks for safety switches which would be not initialized otherwise
if (tick10ms) {
requiredSpeakerVolume = g_eeGeneral.speakerVolume + VOLUME_LEVEL_DEF;
requiredBacklightBright = g_eeGeneral.backlightBright;
requiredBacklightBright = g_eeGeneral.getBrightness();
if (radioGFEnabled()) {
evalFunctions(g_eeGeneral.customFn, globalFunctionsContext);