mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
The c200 didn't got in for some reason.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20332 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b7739fbf1c
commit
68f9ef2d57
1 changed files with 2 additions and 2 deletions
|
|
@ -195,16 +195,16 @@ void lcd_enable(bool yesno)
|
||||||
if (yesno == is_lcd_enabled)
|
if (yesno == is_lcd_enabled)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (yesno)
|
if (is_lcd_enabled = yesno)
|
||||||
{
|
{
|
||||||
lcd_send_command(R_STANDBY_OFF);
|
lcd_send_command(R_STANDBY_OFF);
|
||||||
lcd_send_command(R_DISPLAY_ON);
|
lcd_send_command(R_DISPLAY_ON);
|
||||||
|
lcd_activation_call_hook();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
lcd_send_command(R_STANDBY_ON);
|
lcd_send_command(R_STANDBY_ON);
|
||||||
}
|
}
|
||||||
is_lcd_enabled = yesno;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool lcd_enabled(void)
|
bool lcd_enabled(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue