Clear screens before turning on the backlight to mitigate previous FB contents persisting

This commit is contained in:
Aurora 2016-08-15 15:25:44 +02:00
parent c101653077
commit bb117d3d74

View File

@ -246,10 +246,14 @@ void initScreens(void)
flushDCacheRange((void *)fb, sizeof(struct fb));
invokeArm11Function(ARM11);
clearScreens();
//Turn on backlight
i2cWriteRegister(I2C_DEV_MCU, 0x22, 0x2A);
}
else updateBrightness(MULTICONFIG(0));
clearScreens();
else
{
clearScreens();
updateBrightness(MULTICONFIG(0));
}
}