summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-09-23 17:39:14 +0000
committerThomas Martitz <kugel@rockbox.org>2009-09-23 17:39:14 +0000
commit073e2062da89d31c73b7fdb40b0fc1dabc89bd17 (patch)
tree6758ff8f45f572bd7ade719941d06f8b10ec44cd /firmware
parentd5797a6e93e11eb689e9e16c55a377dc2555b467 (diff)
downloadrockbox-073e2062da89d31c73b7fdb40b0fc1dabc89bd17.tar.gz
rockbox-073e2062da89d31c73b7fdb40b0fc1dabc89bd17.tar.bz2
rockbox-073e2062da89d31c73b7fdb40b0fc1dabc89bd17.zip
Fix red for HAS_SERIAL_REMOTE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22801 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 806ae6dcfa..cc8a1b561a 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -122,7 +122,7 @@ static void button_tick(void)
const int data = 0;
#endif
-#ifdef HAS_SERIAL_REMOTE
+#if defined(HAS_SERIAL_REMOTE) && !defined(SIMULATOR)
/* Post events for the remote control */
btn = remote_control_rx();
if(btn)