diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-11-13 13:57:39 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-11-13 13:57:39 -0500 |
commit | 47e1f964273e29c4f6f2923b3bb814b087c7af47 (patch) | |
tree | 54fce455e3715721e02461a9ef7d59e6fc7ef3a9 /bootloader/ipod.c | |
parent | f65fb2a64abaf66b4d695be7fb3e114febea6bd1 (diff) | |
download | rockbox-47e1f964273e29c4f6f2923b3bb814b087c7af47.tar.gz rockbox-47e1f964273e29c4f6f2923b3bb814b087c7af47.zip |
Bugfix Backlight_init should be called after lcd_init
the rest..
Change-Id: I50585ba2191aa8134de3045b1445859b27503a68
Diffstat (limited to 'bootloader/ipod.c')
-rw-r--r-- | bootloader/ipod.c | 7 |
1 files changed, 3 insertions, 4 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) | |||
306 | system_init(); | 306 | system_init(); |
307 | kernel_init(); | 307 | kernel_init(); |
308 | 308 | ||
309 | #ifndef HAVE_BACKLIGHT_INVERSION | ||
310 | backlight_init(); /* Turns on the backlight */ | ||
311 | #endif | ||
312 | |||
313 | lcd_init(); | 309 | lcd_init(); |
314 | font_init(); | 310 | font_init(); |
311 | #ifndef HAVE_BACKLIGHT_INVERSION | ||
312 | backlight_init(); /* Turns on the backlight BUGFIX backlight_init MUST BE AFTER lcd_init */ | ||
313 | #endif | ||
315 | 314 | ||
316 | #ifdef HAVE_LCD_COLOR | 315 | #ifdef HAVE_LCD_COLOR |
317 | lcd_set_foreground(LCD_WHITE); | 316 | lcd_set_foreground(LCD_WHITE); |