From 4fa12f90fc36178e16f56e429862b715ffb21546 Mon Sep 17 00:00:00 2001 From: Aurora Wright Date: Wed, 16 Aug 2017 15:49:57 +0200 Subject: [PATCH] Fix derp --- source/screen.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/source/screen.c b/source/screen.c index b55b5b4..3448fea 100644 --- a/source/screen.c +++ b/source/screen.c @@ -105,12 +105,10 @@ void initScreens(void) //Turn on backlight i2cWriteRegister(I2C_DEV_MCU, 0x22, 0x2A); } - else - { - updateBrightness(MULTICONFIG(BRIGHTNESS)); - memcpy((void *)ARM11_PARAMETERS_ADDRESS, fbs, sizeof(fbs)); - invokeArm11Function(SETUP_FRAMEBUFFERS); - } + else updateBrightness(MULTICONFIG(BRIGHTNESS)); + + memcpy((void *)ARM11_PARAMETERS_ADDRESS, fbs, sizeof(fbs)); + invokeArm11Function(SETUP_FRAMEBUFFERS); clearScreens(true); needToSetup = false;