From e4689fd18ed7410ad297756c5267dd073d41ae1c Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 21 Mar 2007 07:26:07 +0000 Subject: revert the last commit... setting wasnt worth the space git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12874 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 851ce5d..1a5ee4e 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -609,17 +609,10 @@ int plugin_load(const char* plugin, void* parameter) #endif invalidate_icache(); -#if CONFIG_BACKLIGHT - if (global_settings.backlight_in_plugins == 1) - backlight_set_timeout(1); -#endif + rc = hdr->entry_point((struct plugin_api*) &rockbox_api, parameter); /* explicitly casting the pointer here to avoid touching every plugin. */ -#if CONFIG_BACKLIGHT - if (global_settings.backlight_in_plugins == 1) - backlight_set_timeout(global_settings.backlight_timeout); -#endif - + button_clear_queue(); #ifdef HAVE_LCD_BITMAP -- cgit v1.1