diff options
| author | Nils Wallménius <nils@rockbox.org> | 2007-08-12 19:49:03 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2007-08-12 19:49:03 +0000 |
| commit | f28da1a35a6403b153f93f66e3d96e485f89c363 (patch) | |
| tree | 760d0c286a65042e18e2165ff555be0d40e80558 /firmware/drivers/button.c | |
| parent | 90c40b7fea0275e212addf3ae6ac6979f5b4585b (diff) | |
| download | rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.zip rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.tar.gz rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.tar.bz2 rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.tar.xz | |
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
Diffstat (limited to 'firmware/drivers/button.c')
| -rw-r--r-- | firmware/drivers/button.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 715d4d3..7b5fd26 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: |