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
This commit is contained in:
Antonius Hellmann 2007-05-19 18:56:38 +00:00
parent 55dfda1ec0
commit 5acb2d5d76

View file

@ -23,15 +23,11 @@
#include "i2c-pp.h" #include "i2c-pp.h"
static unsigned short backlight_brightness = DEFAULT_BRIGHTNESS_SETTING; 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) int __backlight_is_on(void)
{ {
#ifdef BOOTLOADER
return (int)true;
#else
return (int)backlight_is_on; return (int)backlight_is_on;
#endif
} }
void __backlight_set_brightness(int brightness) void __backlight_set_brightness(int brightness)