diff options
Diffstat (limited to 'firmware/target/arm/at91sam/lyre_proto1/button-target.h')
-rw-r--r-- | firmware/target/arm/at91sam/lyre_proto1/button-target.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/firmware/target/arm/at91sam/lyre_proto1/button-target.h b/firmware/target/arm/at91sam/lyre_proto1/button-target.h index e05f9f294f..bfba483df1 100644 --- a/firmware/target/arm/at91sam/lyre_proto1/button-target.h +++ b/firmware/target/arm/at91sam/lyre_proto1/button-target.h | |||
@@ -22,9 +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 | #define BUTTON_SELECT 0x00000001 | 25 | #define BUTTON_SELECT 0x00000001 |
29 | #define BUTTON_MENU 0x00000002 | 26 | #define BUTTON_MENU 0x00000002 |
30 | #define BUTTON_PLAY 0x00000004 | 27 | #define BUTTON_PLAY 0x00000004 |
@@ -38,11 +35,5 @@ | |||
38 | #define BUTTON_MAIN (BUTTON_UP|BUTTON_DOWN|BUTTON_RIGHT|BUTTON_LEFT \ | 35 | #define BUTTON_MAIN (BUTTON_UP|BUTTON_DOWN|BUTTON_RIGHT|BUTTON_LEFT \ |
39 | |BUTTON_SELECT|BUTTON_MENU|BUTTON_PLAY \ | 36 | |BUTTON_SELECT|BUTTON_MENU|BUTTON_PLAY \ |
40 | |BUTTON_STOP) | 37 | |BUTTON_STOP) |
41 | bool button_hold(void); | ||
42 | void button_init_device(void); | ||
43 | int button_read_device(void); | ||
44 | |||
45 | /* No Remote control */ | ||
46 | #define BUTTON_REMOTE 0 | ||
47 | 38 | ||
48 | #endif /* _BUTTON_TARGET_H_ */ | 39 | #endif /* _BUTTON_TARGET_H_ */ |