Clear screens before turning on the backlight to mitigate previous FB contents persisting
This commit is contained in:
parent
c101653077
commit
bb117d3d74
@ -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));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user