mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Sansa Clip+ has no button light
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24558 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
07a6de15bd
commit
fbc59e2e28
3 changed files with 0 additions and 18 deletions
|
|
@ -29,9 +29,6 @@
|
|||
/* define this if you have a bitmap LCD display */
|
||||
#define HAVE_LCD_BITMAP
|
||||
|
||||
/* define this if you have a light associated with the buttons */
|
||||
#define HAVE_BUTTON_LIGHT
|
||||
|
||||
/* define this if you have access to the quickscreen */
|
||||
#define HAVE_QUICKSCREEN
|
||||
|
||||
|
|
|
|||
|
|
@ -39,15 +39,3 @@ void _backlight_off(void)
|
|||
ascodec_write(0x25, ascodec_read(0x25) & ~2); /* lcd power */
|
||||
lcd_enable(false);
|
||||
}
|
||||
|
||||
void _buttonlight_on(void)
|
||||
{
|
||||
GPIOA_DIR |= (1<<5);
|
||||
GPIOA_PIN(5) = (1<<5); /* set pin a5 high */
|
||||
}
|
||||
|
||||
void _buttonlight_off(void)
|
||||
{
|
||||
GPIOA_DIR |= (1<<5);
|
||||
GPIOA_PIN(5) = 0; /* set pin a5 low */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,4 @@
|
|||
void _backlight_on(void);
|
||||
void _backlight_off(void);
|
||||
|
||||
void _buttonlight_on(void);
|
||||
void _buttonlight_off(void);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue