From 3da311ee38c8602e95fb28bd41b3df22b2d88cab Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Sun, 14 Mar 2021 11:21:39 +0100 Subject: [PATCH] UI: Change contrast steps to 4 to match GD-77 HW contrast range (0-63) --- openrtx/src/ui/ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openrtx/src/ui/ui.c b/openrtx/src/ui/ui.c index 5cff1139..df8d79af 100644 --- a/openrtx/src/ui/ui.c +++ b/openrtx/src/ui/ui.c @@ -1072,7 +1072,7 @@ void ui_updateFSM(event_t event, bool *sync_rtx) break; #ifdef SCREEN_CONTRAST case D_CONTRAST: - _ui_changeContrast(-25); + _ui_changeContrast(-4); break; #endif default: @@ -1088,7 +1088,7 @@ void ui_updateFSM(event_t event, bool *sync_rtx) break; #ifdef SCREEN_CONTRAST case D_CONTRAST: - _ui_changeContrast(+25); + _ui_changeContrast(+4); break; #endif default: