From 47e1f964273e29c4f6f2923b3bb814b087c7af47 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Fri, 13 Nov 2020 13:57:39 -0500 Subject: Bugfix Backlight_init should be called after lcd_init the rest.. Change-Id: I50585ba2191aa8134de3045b1445859b27503a68 --- bootloader/ipod.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bootloader/ipod.c') 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) 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); -- cgit v1.2.3