From d6744c92b10ab7c4d217f5b11ac48dff6a8542fe Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sun, 11 Dec 2022 09:30:34 +0000 Subject: [PATCH] x1000: Add missing LCD activation event on LCD enable This event is needed to trigger a GUI redraw when the backlight turns on. Change-Id: Ib2300dfd1aaeacd84c6df8151072292409357212 --- firmware/target/mips/ingenic_x1000/lcd-x1000.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/target/mips/ingenic_x1000/lcd-x1000.c b/firmware/target/mips/ingenic_x1000/lcd-x1000.c index b66359a598..979febf066 100644 --- a/firmware/target/mips/ingenic_x1000/lcd-x1000.c +++ b/firmware/target/mips/ingenic_x1000/lcd-x1000.c @@ -428,7 +428,10 @@ void lcd_enable(bool en) /* Handle turning the LCD back on */ if(!bit && en) + { + send_event(LCD_EVENT_ACTIVATION, NULL); lcd_dma_start(); + } } #endif