summaryrefslogtreecommitdiff
path: root/firmware/backlight.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-04 19:38:46 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-04 19:38:46 +0000
commitac9b92716a11cf7699f6ce9668b1ca5cd4171cf9 (patch)
treeb327ea00d2320464d5022b63690032ec31b55f47 /firmware/backlight.c
parent3183b9e534eba4ca07ffaa68895e63177b5d8761 (diff)
Allow to select the core for running the user timer on portalplayer targets. * Incompatible plugin API change -> sorted API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16965 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r--firmware/backlight.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 4126b82a2c..a09521de9a 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -289,7 +289,8 @@ static void backlight_dim(int value)
if (bl_timer_active)
return ;
- if (timer_register(0, backlight_release_timer, 2, 0, backlight_isr))
+ if (timer_register(0, backlight_release_timer, 2, 0, backlight_isr
+ IF_COP(, CPU)))
{
#ifdef _BACKLIGHT_FADE_BOOST
/* Prevent cpu frequency changes while dimming. */
@@ -813,7 +814,7 @@ void remote_backlight_on(void) {}
void remote_backlight_off(void) {}
void remote_backlight_set_timeout(int value) {(void)value;}
-bool is_remote_backlight_on(bool ignore_always_off)
+bool is_remote_backlight_on(bool ignore_always_off)
{
(void)ignore_always_off;
return true;