From 81aac2a43074d7bf9e907309e29f88dc0c5dd2b8 Mon Sep 17 00:00:00 2001 From: Kevin Ferrare Date: Sun, 29 Jul 2007 03:43:37 +0000 Subject: 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 --- apps/plugin.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/plugin.c') 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) -- cgit v1.1