forked from len0rd/rockbox
Bugfix Backlight_init should be called after lcd_init
the rest.. Change-Id: I50585ba2191aa8134de3045b1445859b27503a68
This commit is contained in:
parent
f65fb2a64a
commit
47e1f96427
4 changed files with 13 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue