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