summaryrefslogtreecommitdiff
path: root/bootloader/iriver_h1x0.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-11-13 13:57:39 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2020-11-13 13:57:39 -0500
commit47e1f964273e29c4f6f2923b3bb814b087c7af47 (patch)
tree54fce455e3715721e02461a9ef7d59e6fc7ef3a9 /bootloader/iriver_h1x0.c
parentf65fb2a64abaf66b4d695be7fb3e114febea6bd1 (diff)
downloadrockbox-47e1f964273e29c4f6f2923b3bb814b087c7af47.tar.gz
rockbox-47e1f964273e29c4f6f2923b3bb814b087c7af47.zip
Bugfix Backlight_init should be called after lcd_init
the rest.. Change-Id: I50585ba2191aa8134de3045b1445859b27503a68
Diffstat (limited to 'bootloader/iriver_h1x0.c')
-rw-r--r--bootloader/iriver_h1x0.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/bootloader/iriver_h1x0.c b/bootloader/iriver_h1x0.c
index 8fd95d048c..f79c7c9aaf 100644
--- a/bootloader/iriver_h1x0.c
+++ b/bootloader/iriver_h1x0.c
@@ -485,14 +485,13 @@ void main(void)
485 try_flashboot(); 485 try_flashboot();
486# endif 486# endif
487 487
488 backlight_init();
489
490
491 lcd_init(); 488 lcd_init();
492 489
493 if (!rc_on_button) 490 if (!rc_on_button)
494 lcd_remote_init(); 491 lcd_remote_init();
495 492
493 backlight_init(); /* BUGFIX backlight_init MUST BE AFTER lcd_init */
494
496 /* Bootloader uses simplified backlight thread, so we need to enable 495 /* Bootloader uses simplified backlight thread, so we need to enable
497 remote display here. */ 496 remote display here. */
498 if (remote_detect()) 497 if (remote_detect())