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
26
27
28
29
30
31
32
33
34
35
36
37
38
Index: firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c
===================================================================
--- firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c	(Revision 20700)
+++ firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c	(Arbeitskopie)
@@ -77,7 +77,13 @@
         { 2, 0, 3, 1 }, /* Clockwise rotation */
         { 1, 3, 0, 2 }, /* Counter-clockwise  */ 
     };
-    
+
+    if(hold_button)
+    {
+        repeat  =  counter  = 0;
+        return;
+    }
+
     wheel_value = dbop_din & (1<<13|1<<14);
     wheel_value >>= 13;

Index: firmware/target/arm/as3525/sansa-fuze/button-fuze.c
===================================================================
--- firmware/target/arm/as3525/sansa-fuze/button-fuze.c	(Revision 20699)
+++ firmware/target/arm/as3525/sansa-fuze/button-fuze.c	(Arbeitskopie)
@@ -76,6 +76,13 @@
         { 2, 0, 3, 1 }, /* Clockwise rotation */
         { 1, 3, 0, 2 }, /* Counter-clockwise  */ 
     };
+
+    if(hold_button)
+    {
+        repeat  =  counter  = 0;
+        return;
+    }
+
     wheel_value = dbop_din & (1<<13|1<<14);
     wheel_value >>= 13;

d