aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/RA8875/gdisp_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/RA8875/gdisp_lld.c')
-rw-r--r--drivers/gdisp/RA8875/gdisp_lld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gdisp/RA8875/gdisp_lld.c b/drivers/gdisp/RA8875/gdisp_lld.c
index 33b2ec25..d583140b 100644
--- a/drivers/gdisp/RA8875/gdisp_lld.c
+++ b/drivers/gdisp/RA8875/gdisp_lld.c
@@ -436,7 +436,8 @@ void gdisp_lld_draw_pixel(coord_t x, coord_t y, color_t color) {
GDISP.Orientation = (gdisp_orientation_t)value;
return;
case GDISP_CONTROL_BACKLIGHT:
- gdisp_lld_bg_dimmer(54 + ((uint8_t)value) << 1);//turn 0..100% in 54..255
+ set_backlight((uint8_t )value);
+ //gdisp_lld_bg_dimmer(54 + ((uint8_t)value) << 1);//turn 0..100% in 54..255
return;
/*
case GDISP_CONTROL_CONTRAST: