Fix Dim command

This commit is contained in:
fvanroie 2020-02-29 18:29:41 +01:00
parent 720ce0409a
commit 3573c94d81

View File

@ -434,7 +434,7 @@ void guiSetDim(uint8_t level)
guiDimLevel = level >= 0 ? level : 0;
guiDimLevel = guiDimLevel <= 100 ? guiDimLevel : 100;
if(guiBacklightIsOn) { // The backlight is ON
if(true || guiBacklightIsOn) { // The backlight is ON
#if defined(ARDUINO_ARCH_ESP32)
ledcWrite(99, map(guiDimLevel, 0, 100, 0, 1023)); // ledChannel and value
#else