forked from len0rd/rockbox
1st/2nd gen bootloader: * Don't be verbose by default anymore. * Don't enable the backlight, as it looks bad in a bright environment due to backlight inversion, and it needs a lot of power.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14678 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
72221fbf79
commit
c41470d33d
2 changed files with 4 additions and 3 deletions
|
@ -30,8 +30,8 @@
|
||||||
|
|
||||||
/* TODO: Other bootloaders need to be adjusted to set this variable to true
|
/* TODO: Other bootloaders need to be adjusted to set this variable to true
|
||||||
on a button press - currently only the ipod, H10 and Sansa versions do. */
|
on a button press - currently only the ipod, H10 and Sansa versions do. */
|
||||||
#if (defined(IPOD_ARCH) && !defined(IPOD_1G2G)) || defined(IRIVER_H10) \
|
#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) \
|
||||||
|| defined(IRIVER_H10_5GB) || defined(SANSA_E200) || defined(GIGABEAT_F)
|
|| defined(SANSA_E200) || defined(GIGABEAT_F)
|
||||||
bool verbose = false;
|
bool verbose = false;
|
||||||
#else
|
#else
|
||||||
bool verbose = true;
|
bool verbose = true;
|
||||||
|
|
|
@ -237,9 +237,10 @@ void* main(void)
|
||||||
reset the settings in rockbox. */
|
reset the settings in rockbox. */
|
||||||
button_was_held = button_hold();
|
button_was_held = button_hold();
|
||||||
|
|
||||||
|
#ifndef HAVE_BACKLIGHT_INVERSION
|
||||||
/* Turn on the backlight */
|
/* Turn on the backlight */
|
||||||
|
|
||||||
__backlight_on();
|
__backlight_on();
|
||||||
|
#endif
|
||||||
|
|
||||||
system_init();
|
system_init();
|
||||||
kernel_init();
|
kernel_init();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue