forked from len0rd/rockbox
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
This commit is contained in:
parent
d87b037efe
commit
afd5174eaf
1 changed files with 6 additions and 6 deletions
|
|
@ -35,7 +35,7 @@
|
||||||
#include "disk.h"
|
#include "disk.h"
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
#include "adc.h"
|
#include "adc.h"
|
||||||
#include "backlight-target.h"
|
#include "backlight.h"
|
||||||
#include "panic.h"
|
#include "panic.h"
|
||||||
#include "power.h"
|
#include "power.h"
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
@ -237,13 +237,13 @@ 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 */
|
|
||||||
_backlight_on();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
system_init();
|
system_init();
|
||||||
kernel_init();
|
kernel_init();
|
||||||
|
|
||||||
|
#ifndef HAVE_BACKLIGHT_INVERSION
|
||||||
|
backlight_init(); /* Turns on the backlight */
|
||||||
|
#endif
|
||||||
|
|
||||||
lcd_init();
|
lcd_init();
|
||||||
font_init();
|
font_init();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue