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:
parent
55dfda1ec0
commit
5acb2d5d76
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue