diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-11 09:30:34 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-18 21:01:04 +0000 |
commit | d6744c92b10ab7c4d217f5b11ac48dff6a8542fe (patch) | |
tree | d28bd902f14bc52114a314f259a1e491b6d1fe1f | |
parent | 6c52fa139c5ad8f78ed4fdb306a6074228dbf4c9 (diff) | |
download | rockbox-d6744c92b1.tar.gz rockbox-d6744c92b1.zip |
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
-rw-r--r-- | firmware/target/mips/ingenic_x1000/lcd-x1000.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |