diff options
| author | Kevin Ferrare <kevin@rockbox.org> | 2007-07-29 03:43:37 +0000 |
|---|---|---|
| committer | Kevin Ferrare <kevin@rockbox.org> | 2007-07-29 03:43:37 +0000 |
| commit | 81aac2a43074d7bf9e907309e29f88dc0c5dd2b8 (patch) | |
| tree | 95c0323f06c462cacbb84dfa6d5335641b9cda12 /apps/plugin.c | |
| parent | 9b11f8115005e8e7be4aff8a8b59cf58dce9974e (diff) | |
| download | rockbox-81aac2a43074d7bf9e907309e29f88dc0c5dd2b8.zip rockbox-81aac2a43074d7bf9e907309e29f88dc0c5dd2b8.tar.gz rockbox-81aac2a43074d7bf9e907309e29f88dc0c5dd2b8.tar.bz2 rockbox-81aac2a43074d7bf9e907309e29f88dc0c5dd2b8.tar.xz | |
Use multi-screen api for metronome plugin, and made it run in the simulator by implementing the timer functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14046 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 14519e1..dbd7d7b 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -24,6 +24,7 @@ #include "debug.h" #include "i2c.h" #include "lang.h" +#include "led.h" #include "keyboard.h" #include "buffer.h" #include "backlight.h" @@ -252,10 +253,11 @@ static const struct plugin_api rockbox_api = { cpu_boost, #endif #endif +#endif timer_register, timer_unregister, timer_set_period, -#endif + queue_init, queue_delete, queue_post, @@ -493,6 +495,7 @@ static const struct plugin_api rockbox_api = { #ifdef HAVE_LCD_BITMAP screen_clear_area, #endif + led, }; int plugin_load(const char* plugin, void* parameter) |