From afd5174eaf4a29a5eb53ce3e6a10834cec3add14 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 21 Nov 2007 21:28:46 +0000 Subject: [PATCH] Fix iPod Nano & Video bootloaders. Backlight uses sleep(), hence it must be initialised after kernel_init(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15743 a1c6a512-1295-4272-9138-f99709370657 --- bootloader/ipod.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bootloader/ipod.c b/bootloader/ipod.c index 816f13adde..b3ff7bcedb 100644 --- a/bootloader/ipod.c +++ b/bootloader/ipod.c @@ -35,7 +35,7 @@ #include "disk.h" #include "font.h" #include "adc.h" -#include "backlight-target.h" +#include "backlight.h" #include "panic.h" #include "power.h" #include "file.h" @@ -237,13 +237,13 @@ void* main(void) reset the settings in rockbox. */ button_was_held = button_hold(); -#ifndef HAVE_BACKLIGHT_INVERSION - /* Turn on the backlight */ - _backlight_on(); -#endif - system_init(); kernel_init(); + +#ifndef HAVE_BACKLIGHT_INVERSION + backlight_init(); /* Turns on the backlight */ +#endif + lcd_init(); font_init();