diff options
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 |