And this too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11667 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
86d0d91b0c
commit
1ff7652adf
1 changed files with 3 additions and 3 deletions
|
@ -239,7 +239,7 @@ static void backlight_switch(void)
|
||||||
static void backlight_release_timer(void)
|
static void backlight_release_timer(void)
|
||||||
{
|
{
|
||||||
#ifdef CPU_COLDFIRE
|
#ifdef CPU_COLDFIRE
|
||||||
cpu_boost_id(false, CPUBOOSTID_BACKLIGHT);
|
cpu_boost(false);
|
||||||
#endif
|
#endif
|
||||||
timer_unregister();
|
timer_unregister();
|
||||||
bl_timer_active = false;
|
bl_timer_active = false;
|
||||||
|
@ -261,7 +261,7 @@ static void backlight_dim(int value)
|
||||||
{
|
{
|
||||||
#ifdef CPU_COLDFIRE
|
#ifdef CPU_COLDFIRE
|
||||||
/* Prevent cpu frequency changes while dimming. */
|
/* Prevent cpu frequency changes while dimming. */
|
||||||
cpu_boost_id(true, CPUBOOSTID_BACKLIGHT);
|
cpu_boost(true);
|
||||||
#endif
|
#endif
|
||||||
bl_timer_active = true;
|
bl_timer_active = true;
|
||||||
}
|
}
|
||||||
|
@ -478,7 +478,7 @@ void backlight_thread(void)
|
||||||
#if defined(HAVE_BACKLIGHT_PWM_FADING) && defined(CPU_COLDFIRE) \
|
#if defined(HAVE_BACKLIGHT_PWM_FADING) && defined(CPU_COLDFIRE) \
|
||||||
&& !defined(SIMULATOR)
|
&& !defined(SIMULATOR)
|
||||||
case BACKLIGHT_UNBOOST_CPU:
|
case BACKLIGHT_UNBOOST_CPU:
|
||||||
cpu_boost_id(false, CPUBOOSTID_BACKLIGHT);
|
cpu_boost(false);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue