From 21a373388833b8f4f7284cff16d48cab7857de2f Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Thu, 8 May 2008 21:23:31 +0000 Subject: Lamp plugin: accept the reduced patch of FS #8934 by Alexander Papst git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17425 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 6c6be90..230013e 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -590,6 +590,14 @@ static const struct plugin_api rockbox_api = { #ifdef HAVE_TOUCHPAD touchpad_set_mode, #endif /* HAVE_TOUCHPAD */ +#ifdef HAVE_BUTTON_LIGHT + buttonlight_set_timeout, + buttonlight_off, + buttonlight_on, +#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS + buttonlight_set_brightness, +#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */ +#endif /* HAVE_BUTTON_LIGHT */ }; int plugin_load(const char* plugin, void* parameter) -- cgit v1.1