sept-s: turn on backlight after drawing image.

This commit is contained in:
Michael Scire 2019-02-20 15:24:11 -08:00
parent 656053582a
commit f1ea368585

View File

@ -116,10 +116,6 @@ static void setup_env(void) {
/* Set the framebuffer. */
display_init_framebuffer(g_framebuffer);
/* Turn on the backlight after initializing the lfb */
/* to avoid flickering. */
display_backlight(true);
/* Set display background color. */
for (size_t i = 0; i < 1280 * 768 * 4; i += 4) {
MAKE_REG32((uintptr_t)g_framebuffer + i) = 0xFF37394C;
@ -128,6 +124,10 @@ static void setup_env(void) {
/* Draw splash. */
draw_splash((volatile uint32_t *)g_framebuffer);
/* Turn on the backlight after initializing the lfb */
/* to avoid flickering. */
display_backlight(true);
/* Set up the exception handlers. */
setup_exception_handlers();