summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/ipod.c7
-rw-r--r--bootloader/ipodnano2g.c4
-rw-r--r--bootloader/iriver_h1x0.c7
3 files changed, 8 insertions, 10 deletions
diff --git a/bootloader/ipod.c b/bootloader/ipod.c
index 8e5bd08a42..9583afe0fb 100644
--- a/bootloader/ipod.c
+++ b/bootloader/ipod.c
@@ -306,12 +306,11 @@ void* main(void)
system_init();
kernel_init();
-#ifndef HAVE_BACKLIGHT_INVERSION
- backlight_init(); /* Turns on the backlight */
-#endif
-
lcd_init();
font_init();
+#ifndef HAVE_BACKLIGHT_INVERSION
+ backlight_init(); /* Turns on the backlight BUGFIX backlight_init MUST BE AFTER lcd_init */
+#endif
#ifdef HAVE_LCD_COLOR
lcd_set_foreground(LCD_WHITE);
diff --git a/bootloader/ipodnano2g.c b/bootloader/ipodnano2g.c
index 85bb2df86d..23a3557ae2 100644
--- a/bootloader/ipodnano2g.c
+++ b/bootloader/ipodnano2g.c
@@ -184,11 +184,11 @@ void main(void)
enable_irq();
- backlight_init(); /* Turns on the backlight */
-
lcd_init();
font_init();
+ backlight_init(); /* Turns on backlight -- BUGFIX backlight_init MUST BE AFTER lcd_init */
+
lcd_set_foreground(LCD_WHITE);
lcd_set_background(LCD_BLACK);
lcd_clear_display();
diff --git a/bootloader/iriver_h1x0.c b/bootloader/iriver_h1x0.c
index 8fd95d048c..f79c7c9aaf 100644
--- a/bootloader/iriver_h1x0.c
+++ b/bootloader/iriver_h1x0.c
@@ -485,14 +485,13 @@ void main(void)
try_flashboot();
# endif
- backlight_init();
-
-
lcd_init();
if (!rc_on_button)
lcd_remote_init();
-
+
+ backlight_init(); /* BUGFIX backlight_init MUST BE AFTER lcd_init */
+
/* Bootloader uses simplified backlight thread, so we need to enable
remote display here. */
if (remote_detect())