From f1ea368585a9b40bdf159426bcec22e9d6dc153c Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 20 Feb 2019 15:24:11 -0800 Subject: [PATCH] sept-s: turn on backlight after drawing image. --- sept/sept-secondary/src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sept/sept-secondary/src/main.c b/sept/sept-secondary/src/main.c index d97ec791c..9c1780a92 100644 --- a/sept/sept-secondary/src/main.c +++ b/sept/sept-secondary/src/main.c @@ -115,10 +115,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) { @@ -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();