mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Clipv2/+ : ascodec register 0x25 is not related to backlight
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26093 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0da5399c79
commit
7ae53d860c
2 changed files with 0 additions and 4 deletions
|
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
void _backlight_on(void)
|
void _backlight_on(void)
|
||||||
{
|
{
|
||||||
ascodec_write(0x25, ascodec_read(0x25) | 2); /* lcd power */
|
|
||||||
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x90);
|
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x90);
|
||||||
lcd_enable(true);
|
lcd_enable(true);
|
||||||
}
|
}
|
||||||
|
|
@ -34,6 +33,5 @@ void _backlight_on(void)
|
||||||
void _backlight_off(void)
|
void _backlight_off(void)
|
||||||
{
|
{
|
||||||
lcd_enable(false);
|
lcd_enable(false);
|
||||||
ascodec_write(0x25, ascodec_read(0x25) & ~2); /* lcd power */
|
|
||||||
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x00);
|
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x00);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
void _backlight_on(void)
|
void _backlight_on(void)
|
||||||
{
|
{
|
||||||
ascodec_write(0x25, ascodec_read(0x25) | 2); /* lcd power */
|
|
||||||
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x90);
|
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x90);
|
||||||
lcd_enable(true);
|
lcd_enable(true);
|
||||||
}
|
}
|
||||||
|
|
@ -34,7 +33,6 @@ void _backlight_on(void)
|
||||||
void _backlight_off(void)
|
void _backlight_off(void)
|
||||||
{
|
{
|
||||||
lcd_enable(false);
|
lcd_enable(false);
|
||||||
ascodec_write(0x25, ascodec_read(0x25) & ~2); /* lcd power */
|
|
||||||
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x0);
|
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue