From f28da1a35a6403b153f93f66e3d96e485f89c363 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 12 Aug 2007 19:49:03 +0000 Subject: Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/button.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/drivers/button.c') diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 715d4d3025..7b5fd26f3b 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -37,6 +37,7 @@ #include "lcd-remote.h" #endif +#ifndef SIMULATOR #if 0 /* Older than MAX_EVENT_AGE button events are going to be ignored. * Used to prevent for example volume going up uncontrollable when events @@ -482,6 +483,8 @@ void button_clear_queue(void) queue_clear(&button_queue); } +#endif /* SIMULATOR */ + #ifdef HAVE_SCROLLWHEEL /** * data: -- cgit v1.2.3