mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-09 21:51:45 +00:00
sept-s: turn on backlight after drawing image.
This commit is contained in:
parent
656053582a
commit
f1ea368585
1 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue