diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-16 23:01:18 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-16 23:01:18 +0000 |
commit | 767c0ec5894f1acaad5e0def12d628c6f21bcf87 (patch) | |
tree | a2fbd9ac23adc395d4587a6c9cb85ba4cc001cb8 /apps/plugins/fireworks.c | |
parent | 735ab889d2bd41fdc8a5bf22d7ce5ed724d58474 (diff) | |
download | rockbox-767c0ec5894f1acaad5e0def12d628c6f21bcf87.tar.gz rockbox-767c0ec5894f1acaad5e0def12d628c6f21bcf87.zip |
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
Diffstat (limited to 'apps/plugins/fireworks.c')
-rw-r--r-- | apps/plugins/fireworks.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
380 | 380 | ||
381 | /* set everything up.. no BL timeout, no backdrop, | 381 | /* set everything up.. no BL timeout, no backdrop, |
382 | white-text-on-black-background. */ | 382 | white-text-on-black-background. */ |
383 | backlight_force_on(); /* backlight control in lib/helper.c */ | 383 | backlight_force_on(rb); /* backlight control in lib/helper.c */ |
384 | #if LCD_DEPTH > 1 | 384 | #if LCD_DEPTH > 1 |
385 | rb->lcd_set_backdrop(NULL); | 385 | rb->lcd_set_backdrop(NULL); |
386 | rb->lcd_set_background(LCD_BLACK); | 386 | rb->lcd_set_background(LCD_BLACK); |
@@ -537,7 +537,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
537 | } | 537 | } |
538 | } | 538 | } |
539 | /* Turn on backlight timeout (revert to settings) */ | 539 | /* Turn on backlight timeout (revert to settings) */ |
540 | backlight_use_settings(); /* backlight control in lib/helper.c */ | 540 | backlight_use_settings(rb); /* backlight control in lib/helper.c */ |
541 | 541 | ||
542 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 542 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
543 | rb->cpu_boost(true); | 543 | rb->cpu_boost(true); |