summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-05-06 15:01:06 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-05-06 15:01:06 +0000
commit685005ec4c597968c9e1125025882c45868c842a (patch)
tree30c3e45aaa6a76e195b4ac616773ffbfac234d5d /firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
parent35390cd625e925931dab558c5cd8c561142a1bc4 (diff)
downloadrockbox-685005ec4c597968c9e1125025882c45868c842a.tar.gz
rockbox-685005ec4c597968c9e1125025882c45868c842a.zip
e200: set the default values to stop the backlight turning off on boot, regardless of the setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13334 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk/sansa-e200/backlight-e200.c')
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/backlight-e200.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c b/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
index bb67b5b489..5eaec03f24 100644
--- a/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
@@ -22,8 +22,8 @@
#include "backlight.h"
#include "i2c-pp.h"
-static unsigned short backlight_brightness;
-static bool backlight_is_on;
+static unsigned short backlight_brightness = DEFAULT_BRIGHTNESS_SETTING;
+static bool backlight_is_on = false;
int __backlight_is_on(void)
{