From 767c0ec5894f1acaad5e0def12d628c6f21bcf87 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Thu, 16 Aug 2007 23:01:18 +0000 Subject: Pass plugin api pointer to funtion directly, fixes crashes when doing incremental builds. Fix incorrect backlight changes in rockblox introduced recently. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14373 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/fireworks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/fireworks.c') diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index 7e3aea4ef7..e8439dff15 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c @@ -380,7 +380,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) /* set everything up.. no BL timeout, no backdrop, white-text-on-black-background. */ - backlight_force_on(); /* backlight control in lib/helper.c */ + backlight_force_on(rb); /* backlight control in lib/helper.c */ #if LCD_DEPTH > 1 rb->lcd_set_backdrop(NULL); rb->lcd_set_background(LCD_BLACK); @@ -537,7 +537,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) } } /* Turn on backlight timeout (revert to settings) */ - backlight_use_settings(); /* backlight control in lib/helper.c */ + backlight_use_settings(rb); /* backlight control in lib/helper.c */ #ifdef HAVE_ADJUSTABLE_CPU_FREQ rb->cpu_boost(true); -- cgit v1.2.3