Fix non-hold button and headphone detection target sims.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22800 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-09-23 17:26:42 +00:00
parent ca85c401f5
commit d5797a6e93
3 changed files with 8 additions and 3 deletions

View file

@ -87,7 +87,7 @@ static int button_read(void);
#ifdef HAVE_TOUCHSCREEN
static int last_touchscreen_touch;
#endif
#if defined(HAVE_HEADPHONE_DETECTION) && !defined(SIMULATOR)
#if defined(HAVE_HEADPHONE_DETECTION)
static struct timeout hp_detect_timeout; /* Debouncer for headphone plug/unplug */
/* This callback can be used for many different functions if needed -
just check to which object tmo points */