diff options
Diffstat (limited to 'firmware/target/arm/as3525/sansa-fuzev2')
-rw-r--r-- | firmware/target/arm/as3525/sansa-fuzev2/button-target.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/firmware/target/arm/as3525/sansa-fuzev2/button-target.h b/firmware/target/arm/as3525/sansa-fuzev2/button-target.h index 596ac01262..6ea1a9616e 100644 --- a/firmware/target/arm/as3525/sansa-fuzev2/button-target.h +++ b/firmware/target/arm/as3525/sansa-fuzev2/button-target.h | |||
@@ -22,14 +22,8 @@ | |||
22 | #ifndef _BUTTON_TARGET_H_ | 22 | #ifndef _BUTTON_TARGET_H_ |
23 | #define _BUTTON_TARGET_H_ | 23 | #define _BUTTON_TARGET_H_ |
24 | 24 | ||
25 | #include <stdbool.h> | ||
26 | #include "config.h" | ||
27 | |||
28 | #define HAS_BUTTON_HOLD | 25 | #define HAS_BUTTON_HOLD |
29 | 26 | ||
30 | void button_init_device(void); | ||
31 | bool button_hold(void); | ||
32 | int button_read_device(void); | ||
33 | /* Sandisk Sansa Fuze button codes */ | 27 | /* Sandisk Sansa Fuze button codes */ |
34 | 28 | ||
35 | /* Main unit's buttons - mapped for optimal reading */ | 29 | /* Main unit's buttons - mapped for optimal reading */ |
@@ -52,9 +46,6 @@ int button_read_device(void); | |||
52 | |BUTTON_SCROLL_BACK|BUTTON_SCROLL_FWD \ | 46 | |BUTTON_SCROLL_BACK|BUTTON_SCROLL_FWD \ |
53 | |BUTTON_HOLD) | 47 | |BUTTON_HOLD) |
54 | 48 | ||
55 | /* No Remote control */ | ||
56 | #define BUTTON_REMOTE 0 | ||
57 | |||
58 | #define POWEROFF_BUTTON BUTTON_POWER | 49 | #define POWEROFF_BUTTON BUTTON_POWER |
59 | #define POWEROFF_COUNT 10 | 50 | #define POWEROFF_COUNT 10 |
60 | 51 | ||