diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2010-02-08 02:35:42 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-02-08 02:35:42 +0000 |
| commit | fbc59e2e2859d7e1d93b3416dad5199cb9def536 (patch) | |
| tree | 4c4ff8c5e9d72b00b5f8828d586ef7f51c62b652 | |
| parent | 07a6de15bd8386113db3448fbc294e9db43dfb8c (diff) | |
| download | rockbox-fbc59e2e2859d7e1d93b3416dad5199cb9def536.zip rockbox-fbc59e2e2859d7e1d93b3416dad5199cb9def536.tar.gz rockbox-fbc59e2e2859d7e1d93b3416dad5199cb9def536.tar.bz2 rockbox-fbc59e2e2859d7e1d93b3416dad5199cb9def536.tar.xz | |
Sansa Clip+ has no button light
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24558 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/export/config/sansaclipplus.h | 3 | ||||
| -rw-r--r-- | firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c | 12 | ||||
| -rw-r--r-- | firmware/target/arm/as3525/sansa-clipplus/backlight-target.h | 3 |
3 files changed, 0 insertions, 18 deletions
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h index 758f267..ba70fdd 100644 --- a/firmware/export/config/sansaclipplus.h +++ b/firmware/export/config/sansaclipplus.h @@ -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 diff --git a/firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c b/firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c index c51d612..26d562f 100644 --- a/firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c +++ b/firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c @@ -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 */ -} diff --git a/firmware/target/arm/as3525/sansa-clipplus/backlight-target.h b/firmware/target/arm/as3525/sansa-clipplus/backlight-target.h index d202408..2990083 100644 --- a/firmware/target/arm/as3525/sansa-clipplus/backlight-target.h +++ b/firmware/target/arm/as3525/sansa-clipplus/backlight-target.h @@ -26,7 +26,4 @@ void _backlight_on(void); void _backlight_off(void); -void _buttonlight_on(void); -void _buttonlight_off(void); - #endif |