diff options
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clipplus/button-target.h')
-rw-r--r-- | firmware/target/arm/as3525/sansa-clipplus/button-target.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipplus/button-target.h b/firmware/target/arm/as3525/sansa-clipplus/button-target.h index c341a94220..8176382ba2 100644 --- a/firmware/target/arm/as3525/sansa-clipplus/button-target.h +++ b/firmware/target/arm/as3525/sansa-clipplus/button-target.h | |||
@@ -22,12 +22,6 @@ | |||
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 | void button_init_device(void); | ||
29 | int button_read_device(void); | ||
30 | |||
31 | /* Main unit's buttons */ | 25 | /* Main unit's buttons */ |
32 | #define BUTTON_HOME 0x00000001 | 26 | #define BUTTON_HOME 0x00000001 |
33 | 27 | ||
@@ -47,8 +41,6 @@ int button_read_device(void); | |||
47 | |BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT|BUTTON_RIGHT\ | 41 | |BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT|BUTTON_RIGHT\ |
48 | |BUTTON_SELECT|BUTTON_POWER) | 42 | |BUTTON_SELECT|BUTTON_POWER) |
49 | 43 | ||
50 | #define BUTTON_REMOTE 0 | ||
51 | |||
52 | /* Software power-off */ | 44 | /* Software power-off */ |
53 | #define POWEROFF_BUTTON BUTTON_POWER | 45 | #define POWEROFF_BUTTON BUTTON_POWER |
54 | #define POWEROFF_COUNT 10 | 46 | #define POWEROFF_COUNT 10 |