diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-09-23 17:26:42 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-09-23 17:26:42 +0000 |
commit | d5797a6e93e11eb689e9e16c55a377dc2555b467 (patch) | |
tree | 8e1816f3d9562257cedf4a56e98e37afb9df6114 /firmware/drivers | |
parent | ca85c401f58e089b27a4d37ce76265985fa470d7 (diff) | |
download | rockbox-d5797a6e93e11eb689e9e16c55a377dc2555b467.tar.gz rockbox-d5797a6e93e11eb689e9e16c55a377dc2555b467.zip |
Fix non-hold button and headphone detection target sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22800 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 7199d99e28..806ae6dcfa 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c | |||
@@ -87,7 +87,7 @@ static int button_read(void); | |||
87 | #ifdef HAVE_TOUCHSCREEN | 87 | #ifdef HAVE_TOUCHSCREEN |
88 | static int last_touchscreen_touch; | 88 | static int last_touchscreen_touch; |
89 | #endif | 89 | #endif |
90 | #if defined(HAVE_HEADPHONE_DETECTION) && !defined(SIMULATOR) | 90 | #if defined(HAVE_HEADPHONE_DETECTION) |
91 | static struct timeout hp_detect_timeout; /* Debouncer for headphone plug/unplug */ | 91 | static struct timeout hp_detect_timeout; /* Debouncer for headphone plug/unplug */ |
92 | /* This callback can be used for many different functions if needed - | 92 | /* This callback can be used for many different functions if needed - |
93 | just check to which object tmo points */ | 93 | just check to which object tmo points */ |