diff options
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/display.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/display.cpp b/src/drivers/display.cpp index d1ea367c..f828d33e 100644 --- a/src/drivers/display.cpp +++ b/src/drivers/display.cpp @@ -196,7 +196,7 @@ auto Display::SetDisplayOn(bool enabled) -> void { display_on_ = enabled; int new_duty = display_on_ ? brightness_ : 0; - ledc_set_fade_with_time(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, new_duty, 250); + ledc_set_fade_with_time(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, new_duty, 100); ledc_fade_start(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, LEDC_FADE_NO_WAIT); } |
