diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-05-21 08:42:11 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-05-21 08:42:11 +0000 |
commit | a9c20f5789c13b486d217024a020f9d6163e2d51 (patch) | |
tree | 5da52ca9cc7a28ba21ced042cb739e6160d5f87b /firmware/target/arm/imx31/gigabeat-s/button-target.h | |
parent | 5f796087b009fee1ae60904b0355cc7febe3330f (diff) | |
download | rockbox-a9c20f5789c13b486d217024a020f9d6163e2d51.tar.gz rockbox-a9c20f5789c13b486d217024a020f9d6163e2d51.zip |
Gigabeat S:
1) Rework event handling and static registration mechanism. No target-
specific code in mc13783 driver. GPIO event driver interfaces more
cleanly.
2) Somewhat related - enable thread priority for bootloader which is
desireable here (ffs is used for GPIO event enabling anyway and that
goes along with priority).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17593 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/button-target.h')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/button-target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/button-target.h b/firmware/target/arm/imx31/gigabeat-s/button-target.h index 61d33f8e70..28c14f358c 100644 --- a/firmware/target/arm/imx31/gigabeat-s/button-target.h +++ b/firmware/target/arm/imx31/gigabeat-s/button-target.h | |||
@@ -32,8 +32,8 @@ bool button_hold(void); | |||
32 | void button_init_device(void); | 32 | void button_init_device(void); |
33 | void button_close_device(void); | 33 | void button_close_device(void); |
34 | int button_read_device(void); | 34 | int button_read_device(void); |
35 | void button_power_set_state(bool pressed); | 35 | void button_power_event(void); |
36 | void set_headphones_inserted(bool inserted); | 36 | void headphone_detect_event(void); |
37 | bool headphones_inserted(void); | 37 | bool headphones_inserted(void); |
38 | 38 | ||
39 | /* Toshiba Gigabeat S-specific button codes */ | 39 | /* Toshiba Gigabeat S-specific button codes */ |