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/ipodnano2g.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/ipodnano2g.c')
-rw-r--r-- | bootloader/ipodnano2g.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/ipodnano2g.c b/bootloader/ipodnano2g.c index 85bb2df86d..23a3557ae2 100644 --- a/bootloader/ipodnano2g.c +++ b/bootloader/ipodnano2g.c | |||
@@ -184,11 +184,11 @@ void main(void) | |||
184 | 184 | ||
185 | enable_irq(); | 185 | enable_irq(); |
186 | 186 | ||
187 | backlight_init(); /* Turns on the backlight */ | ||
188 | |||
189 | lcd_init(); | 187 | lcd_init(); |
190 | font_init(); | 188 | font_init(); |
191 | 189 | ||
190 | backlight_init(); /* Turns on backlight -- BUGFIX backlight_init MUST BE AFTER lcd_init */ | ||
191 | |||
192 | lcd_set_foreground(LCD_WHITE); | 192 | lcd_set_foreground(LCD_WHITE); |
193 | lcd_set_background(LCD_BLACK); | 193 | lcd_set_background(LCD_BLACK); |
194 | lcd_clear_display(); | 194 | lcd_clear_display(); |