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

@ -485,14 +485,13 @@ void main(void)
try_flashboot();
# endif
backlight_init();
lcd_init();
if (!rc_on_button)
lcd_remote_init();
backlight_init(); /* BUGFIX backlight_init MUST BE AFTER lcd_init */
/* Bootloader uses simplified backlight thread, so we need to enable
remote display here. */
if (remote_detect())