summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorAntonius Hellmann <toni@rockbox.org>2007-05-19 18:56:38 +0000
committerAntonius Hellmann <toni@rockbox.org>2007-05-19 18:56:38 +0000
commit5acb2d5d76258ce7d37c94e91e540696165a1c5a (patch)
tree46d2cd32db1c2f4052ea6bdbb550fd0546783433 /firmware/target
parent55dfda1ec0d3fb1289a57ff840ca4b0022ecfd21 (diff)
Backlight=on as default for sansa bootlaoder/application. Allows instant
screen output after lcd_init(). Useful for 'early'debugging and startup screen is visible a little longer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13418 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/backlight-e200.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c b/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
index df98e8c880..b608c1b9e6 100644
--- a/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
@@ -23,15 +23,11 @@
#include "i2c-pp.h"
static unsigned short backlight_brightness = DEFAULT_BRIGHTNESS_SETTING;
-static bool backlight_is_on = false;
+static bool backlight_is_on = true;
int __backlight_is_on(void)
{
-#ifdef BOOTLOADER
- return (int)true;
-#else
return (int)backlight_is_on;
-#endif
}
void __backlight_set_brightness(int brightness)