summaryrefslogtreecommitdiff
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
parent55dfda1ec0d3fb1289a57ff840ca4b0022ecfd21 (diff)
downloadrockbox-5acb2d5d76258ce7d37c94e91e540696165a1c5a.tar.gz
rockbox-5acb2d5d76258ce7d37c94e91e540696165a1c5a.zip
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
-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 @@
23#include "i2c-pp.h" 23#include "i2c-pp.h"
24 24
25static unsigned short backlight_brightness = DEFAULT_BRIGHTNESS_SETTING; 25static unsigned short backlight_brightness = DEFAULT_BRIGHTNESS_SETTING;
26static bool backlight_is_on = false; 26static bool backlight_is_on = true;
27 27
28int __backlight_is_on(void) 28int __backlight_is_on(void)
29{ 29{
30#ifdef BOOTLOADER
31 return (int)true;
32#else
33 return (int)backlight_is_on; 30 return (int)backlight_is_on;
34#endif
35} 31}
36 32
37void __backlight_set_brightness(int brightness) 33void __backlight_set_brightness(int brightness)