diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-07-28 15:21:18 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-07-28 15:21:18 +1000 |
| commit | 10120f9a92aa84f8b5d17a7e84e767a7aa0b42e7 (patch) | |
| tree | 8eec52e8533030ce34d9f827fd9d6a87809e9fb9 /src/drivers | |
| parent | 3670859d1620ca0fe3492cffb591bf29e5af849c (diff) | |
| download | tangara-fw-10120f9a92aa84f8b5d17a7e84e767a7aa0b42e7.tar.gz | |
ux fixes
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); } |
