From 058d3ffbc6586f1b4e18ae7f18cddf1b4ee3e81c Mon Sep 17 00:00:00 2001 From: funman Date: Mon, 8 Feb 2010 02:35:42 +0000 Subject: [PATCH] Sansa Clip+ has no button light git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24558 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config/sansaclipplus.h | 3 --- firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c | 12 ------------ firmware/target/arm/as3525/sansa-clipplus/backlight-target.h | 3 --- 3 files changed, 18 deletions(-) diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h index 758f2679d..ba70fdd20 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 c51d61231..26d562f82 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 d20240835..299008344 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 -- 2.11.4.GIT