forked from len0rd/rockbox
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
This commit is contained in:
parent
6c52fa139c
commit
d6744c92b1
1 changed files with 3 additions and 0 deletions
|
|
@ -428,8 +428,11 @@ void lcd_enable(bool en)
|
||||||
|
|
||||||
/* Handle turning the LCD back on */
|
/* Handle turning the LCD back on */
|
||||||
if(!bit && en)
|
if(!bit && en)
|
||||||
|
{
|
||||||
|
send_event(LCD_EVENT_ACTIVATION, NULL);
|
||||||
lcd_dma_start();
|
lcd_dma_start();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_LCD_SLEEP)
|
#if defined(HAVE_LCD_SLEEP)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue