mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
imx233: correctly send the LCD_EVENT_ACTIVATION on enable
For some reason it is the responsability of the driver to send this event so do it. This might fix some non-updating screens. Change-Id: Ib5fdc94bf266c3497a8ac4e89d0418c0e876ff9f
This commit is contained in:
parent
c8d36bb994
commit
e2be0e75ab
3 changed files with 5 additions and 0 deletions
|
|
@ -252,6 +252,8 @@ void lcd_enable(bool enable)
|
|||
lcd_enable_seq(enable);
|
||||
if(!enable)
|
||||
common_lcd_enable(false);
|
||||
else
|
||||
send_event(LCD_EVENT_ACTIVATION, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -226,6 +226,8 @@ void lcd_enable(bool enable)
|
|||
lcd_enable_seq(enable);
|
||||
if(!enable)
|
||||
common_lcd_enable(false);
|
||||
else
|
||||
send_event(LCD_EVENT_ACTIVATION, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -521,6 +521,7 @@ void lcd_enable(bool enable)
|
|||
else
|
||||
{
|
||||
lcd_sync_settings();
|
||||
send_event(LCD_EVENT_ACTIVATION, NULL);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue