summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/config/sansaclipplus.h3
-rw-r--r--firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c12
-rw-r--r--firmware/target/arm/as3525/sansa-clipplus/backlight-target.h3
3 files changed, 0 insertions, 18 deletions
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index 758f2679d0..ba70fdd203 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -29,9 +29,6 @@
29/* define this if you have a bitmap LCD display */ 29/* define this if you have a bitmap LCD display */
30#define HAVE_LCD_BITMAP 30#define HAVE_LCD_BITMAP
31 31
32/* define this if you have a light associated with the buttons */
33#define HAVE_BUTTON_LIGHT
34
35/* define this if you have access to the quickscreen */ 32/* define this if you have access to the quickscreen */
36#define HAVE_QUICKSCREEN 33#define HAVE_QUICKSCREEN
37 34
diff --git a/firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c b/firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c
index c51d61231d..26d562f829 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)
39 ascodec_write(0x25, ascodec_read(0x25) & ~2); /* lcd power */ 39 ascodec_write(0x25, ascodec_read(0x25) & ~2); /* lcd power */
40 lcd_enable(false); 40 lcd_enable(false);
41} 41}
42
43void _buttonlight_on(void)
44{
45 GPIOA_DIR |= (1<<5);
46 GPIOA_PIN(5) = (1<<5); /* set pin a5 high */
47}
48
49void _buttonlight_off(void)
50{
51 GPIOA_DIR |= (1<<5);
52 GPIOA_PIN(5) = 0; /* set pin a5 low */
53}
diff --git a/firmware/target/arm/as3525/sansa-clipplus/backlight-target.h b/firmware/target/arm/as3525/sansa-clipplus/backlight-target.h
index d202408356..2990083440 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 @@
26void _backlight_on(void); 26void _backlight_on(void);
27void _backlight_off(void); 27void _backlight_off(void);
28 28
29void _buttonlight_on(void);
30void _buttonlight_off(void);
31
32#endif 29#endif