summaryrefslogtreecommitdiff
path: root/firmware/backlight.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-05-05 08:43:32 +0000
committerThomas Martitz <kugel@rockbox.org>2009-05-05 08:43:32 +0000
commitb2b3f39403e4e6a03d7e0a0bdd5679a1022bb740 (patch)
tree638c7783462cc9e7cb3fdc1601c259ea650bcbe1 /firmware/backlight.c
parent16908adafe402193261934b1bb1e4d0d33e7c56c (diff)
Remove an #ifdef SIMULATOR in favor of using a stub
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20853 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r--firmware/backlight.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 2a2155df8a..12acca00a7 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -725,7 +725,6 @@ void backlight_init(void)
{
queue_init(&backlight_queue, true);
-#ifndef SIMULATOR
if (_backlight_init())
{
#if (CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_PWM)
@@ -734,7 +733,6 @@ void backlight_init(void)
bl_dim_fraction = (BL_PWM_COUNT<<16);
#endif
}
-#endif
/* Leave all lights as set by the bootloader here. The settings load will
* call the appropriate backlight_set_*() functions, only changing light
* status if necessary. */