summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-09-12 22:21:03 +0000
committerJens Arnold <amiconn@rockbox.org>2007-09-12 22:21:03 +0000
commitc41470d33d5d198ce02826aab1c06335a2156533 (patch)
tree12e8b1da02c7814704129bfb9783151a717f6afb
parent72221fbf79527d45144b3637c73b113e73948d73 (diff)
downloadrockbox-c41470d33d5d198ce02826aab1c06335a2156533.tar.gz
rockbox-c41470d33d5d198ce02826aab1c06335a2156533.zip
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
-rw-r--r--bootloader/common.c4
-rw-r--r--bootloader/ipod.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/bootloader/common.c b/bootloader/common.c
index d3e0f44063..2ec83fdd13 100644
--- a/bootloader/common.c
+++ b/bootloader/common.c
@@ -30,8 +30,8 @@
30 30
31/* TODO: Other bootloaders need to be adjusted to set this variable to true 31/* TODO: Other bootloaders need to be adjusted to set this variable to true
32 on a button press - currently only the ipod, H10 and Sansa versions do. */ 32 on a button press - currently only the ipod, H10 and Sansa versions do. */
33#if (defined(IPOD_ARCH) && !defined(IPOD_1G2G)) || defined(IRIVER_H10) \ 33#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) \
34 || defined(IRIVER_H10_5GB) || defined(SANSA_E200) || defined(GIGABEAT_F) 34 || defined(SANSA_E200) || defined(GIGABEAT_F)
35bool verbose = false; 35bool verbose = false;
36#else 36#else
37bool verbose = true; 37bool verbose = true;
diff --git a/bootloader/ipod.c b/bootloader/ipod.c
index d308e3e9c5..441bda860c 100644
--- a/bootloader/ipod.c
+++ b/bootloader/ipod.c
@@ -237,9 +237,10 @@ void* main(void)
237 reset the settings in rockbox. */ 237 reset the settings in rockbox. */
238 button_was_held = button_hold(); 238 button_was_held = button_hold();
239 239
240#ifndef HAVE_BACKLIGHT_INVERSION
240 /* Turn on the backlight */ 241 /* Turn on the backlight */
241
242 __backlight_on(); 242 __backlight_on();
243#endif
243 244
244 system_init(); 245 system_init();
245 kernel_init(); 246 kernel_init();