mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Clipv2/Clip+ : turn off backlight in 0x1b register
Rename clipv2 file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25378 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
60cfc1ddff
commit
cc1f6033de
3 changed files with 7 additions and 5 deletions
|
|
@ -34,8 +34,10 @@ void _backlight_on(void)
|
|||
|
||||
void _backlight_off(void)
|
||||
{
|
||||
ascodec_write(0x25, ascodec_read(0x25) & ~2); /* lcd power */
|
||||
lcd_enable(false);
|
||||
ascodec_write(0x25, ascodec_read(0x25) & ~2); /* lcd power */
|
||||
ascodec_write(0x1c, 8|1);
|
||||
ascodec_write(0x1b, 0);
|
||||
}
|
||||
|
||||
void _buttonlight_on(void)
|
||||
Loading…
Add table
Add a link
Reference in a new issue