This commit is contained in:
Aurora Wright 2017-08-16 15:49:57 +02:00
parent 9c6b540905
commit 4fa12f90fc

View File

@ -105,12 +105,10 @@ void initScreens(void)
//Turn on backlight //Turn on backlight
i2cWriteRegister(I2C_DEV_MCU, 0x22, 0x2A); i2cWriteRegister(I2C_DEV_MCU, 0x22, 0x2A);
} }
else else updateBrightness(MULTICONFIG(BRIGHTNESS));
{
updateBrightness(MULTICONFIG(BRIGHTNESS)); memcpy((void *)ARM11_PARAMETERS_ADDRESS, fbs, sizeof(fbs));
memcpy((void *)ARM11_PARAMETERS_ADDRESS, fbs, sizeof(fbs)); invokeArm11Function(SETUP_FRAMEBUFFERS);
invokeArm11Function(SETUP_FRAMEBUFFERS);
}
clearScreens(true); clearScreens(true);
needToSetup = false; needToSetup = false;