Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.

My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c b/firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c
index 26d562f..288663f 100644
--- a/firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c
+++ b/firmware/target/arm/as3525/sansa-clipplus/backlight-clip.c
@@ -24,18 +24,14 @@
 #include "as3525v2.h"
 #include "ascodec-target.h"

-/* FIXME : this is clipv2 code, not sure if it works the same on clip+ */
-
 void _backlight_on(void)
 {
-    ascodec_write(0x25, ascodec_read(0x25) | 2);    /* lcd power */
-    ascodec_write(0x1c, 8|1);
-    ascodec_write(0x1b, 0x90);
+    ascodec_write(0x1b, 0x91);
     lcd_enable(true);
 }

 void _backlight_off(void)
 {
-    ascodec_write(0x25, ascodec_read(0x25) & ~2);    /* lcd power */
+    ascodec_write(0x1b, 0);
     lcd_enable(false);
 }