1
0
Fork 0
forked from len0rd/rockbox

Bugfix Backlight_init should be called after lcd_init

the rest..

Change-Id: I50585ba2191aa8134de3045b1445859b27503a68
This commit is contained in:
William Wilgus 2020-11-13 13:57:39 -05:00
parent f65fb2a64a
commit 47e1f96427
4 changed files with 13 additions and 16 deletions

View file

@ -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);