diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-15 12:42:09 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-15 12:42:09 +0000 |
commit | cb53e3cef44ec214836b9545a748cf5b84bec3ad (patch) | |
tree | ec78d20fec3be9bb00c4f13c166a972a4d689ff0 /apps/plugins/fireworks.c | |
parent | f2b5c292341768aa6ff954e4b0a817e877c66a12 (diff) |
Bring mpegplayer backlight fix to the other plugins, this also fixes some wrongly ifdef'd backlight calls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14352 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/fireworks.c')
-rw-r--r-- | apps/plugins/fireworks.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index dbfe290ac8..7e3aea4ef7 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c @@ -18,6 +18,7 @@ ****************************************************************************/ #include "plugin.h" #include "oldmenuapi.h" +#include "helper.h" PLUGIN_HEADER @@ -379,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. */ - rb->backlight_set_timeout(1); + backlight_force_on(); /* backlight control in lib/helper.c */ #if LCD_DEPTH > 1 rb->lcd_set_backdrop(NULL); rb->lcd_set_background(LCD_BLACK); @@ -535,7 +536,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) break; } } - rb->backlight_set_timeout(rb->global_settings->backlight_timeout); + /* Turn on backlight timeout (revert to settings) */ + backlight_use_settings(); /* backlight control in lib/helper.c */ #ifdef HAVE_ADJUSTABLE_CPU_FREQ rb->cpu_boost(true); |