diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-03-21 07:26:07 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-03-21 07:26:07 +0000 |
commit | e4689fd18ed7410ad297756c5267dd073d41ae1c (patch) | |
tree | 4ad4244dc5e327a54c3af6f3cbda9ddef9124cf2 /apps/plugin.c | |
parent | a5c5bd38311e4e99ae3eeb0ab9f5108355573554 (diff) |
revert the last commit... setting wasnt worth the space
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12874 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 851ce5d0a4..1a5ee4e3f7 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 |