From d5797a6e93e11eb689e9e16c55a377dc2555b467 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 23 Sep 2009 17:26:42 +0000 Subject: Fix non-hold button and headphone detection target sims. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22800 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers/button.c') 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); #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 */ -- cgit v1.2.3