mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
sansa clipzip: implement lcd_enable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30407 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d87f9fc909
commit
6a9aac7a5f
3 changed files with 66 additions and 1 deletions
|
|
@ -39,10 +39,18 @@ void _backlight_on(void)
|
|||
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x91);
|
||||
sleep(1);
|
||||
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x91);
|
||||
|
||||
#ifdef HAVE_LCD_ENABLE
|
||||
lcd_enable(true);
|
||||
#endif
|
||||
}
|
||||
|
||||
void _backlight_off(void)
|
||||
{
|
||||
#ifdef HAVE_LCD_ENABLE
|
||||
lcd_enable(false);
|
||||
#endif
|
||||
|
||||
GPIOB_PIN(1) = 0;
|
||||
|
||||
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x91);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue