diff options
author | Antonius Hellmann <toni@rockbox.org> | 2007-05-19 18:56:38 +0000 |
---|---|---|
committer | Antonius Hellmann <toni@rockbox.org> | 2007-05-19 18:56:38 +0000 |
commit | 5acb2d5d76258ce7d37c94e91e540696165a1c5a (patch) | |
tree | 46d2cd32db1c2f4052ea6bdbb550fd0546783433 | |
parent | 55dfda1ec0d3fb1289a57ff840ca4b0022ecfd21 (diff) | |
download | rockbox-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.c | 6 |
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 | ||
25 | static unsigned short backlight_brightness = DEFAULT_BRIGHTNESS_SETTING; | 25 | static unsigned short backlight_brightness = DEFAULT_BRIGHTNESS_SETTING; |
26 | static bool backlight_is_on = false; | 26 | static bool backlight_is_on = true; |
27 | 27 | ||
28 | int __backlight_is_on(void) | 28 | int __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 | ||
37 | void __backlight_set_brightness(int brightness) | 33 | void __backlight_set_brightness(int brightness) |