diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-07-20 00:24:49 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-07-20 00:24:49 +0200 |
commit | b91097e3116b6edd21f00478b115cb611fff34b1 (patch) | |
tree | 79733db1b378a8962131aa7fe058b1ff7918a0e3 /drivers/gdisp/RA8875/gdisp_lld.c | |
parent | 1598916830bc4ebbc2320dff148a710bbf9b4a62 (diff) | |
download | uGFX-b91097e3116b6edd21f00478b115cb611fff34b1.tar.gz uGFX-b91097e3116b6edd21f00478b115cb611fff34b1.tar.bz2 uGFX-b91097e3116b6edd21f00478b115cb611fff34b1.zip |
RA8875 fix
Diffstat (limited to 'drivers/gdisp/RA8875/gdisp_lld.c')
-rw-r--r-- | drivers/gdisp/RA8875/gdisp_lld.c | 3 |
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: |