summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/backlight.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 8a07197..b794f23 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -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