aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp')
-rw-r--r--drivers/gdisp/ILI9320/gdisp_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gdisp/ILI9320/gdisp_lld.c b/drivers/gdisp/ILI9320/gdisp_lld.c
index f0cc6e51..4b485d79 100644
--- a/drivers/gdisp/ILI9320/gdisp_lld.c
+++ b/drivers/gdisp/ILI9320/gdisp_lld.c
@@ -511,7 +511,7 @@ void GDISP_LLD(drawpixel)(coord_t x, coord_t y, color_t color) {
if(GDISP.Backlight == (*(uint8_t*)value))
return;
GDISP_LLD(set_backlight)(*(uint8_t*)value);
- GDISP.Backlight == (*(uint8_t*)value);
+ GDISP.Backlight = (*(uint8_t*)value);
break;
default: