And this too.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11667 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-12-05 20:21:11 +00:00
parent 86d0d91b0c
commit 1ff7652adf

View file

@ -239,7 +239,7 @@ static void backlight_switch(void)
static void backlight_release_timer(void)
{
#ifdef CPU_COLDFIRE
cpu_boost_id(false, CPUBOOSTID_BACKLIGHT);
cpu_boost(false);
#endif
timer_unregister();
bl_timer_active = false;
@ -261,7 +261,7 @@ static void backlight_dim(int value)
{
#ifdef CPU_COLDFIRE
/* Prevent cpu frequency changes while dimming. */
cpu_boost_id(true, CPUBOOSTID_BACKLIGHT);
cpu_boost(true);
#endif
bl_timer_active = true;
}
@ -478,7 +478,7 @@ void backlight_thread(void)
#if defined(HAVE_BACKLIGHT_PWM_FADING) && defined(CPU_COLDFIRE) \
&& !defined(SIMULATOR)
case BACKLIGHT_UNBOOST_CPU:
cpu_boost_id(false, CPUBOOSTID_BACKLIGHT);
cpu_boost(false);
break;
#endif