fix(el18): Power-on backlight before screen content (#3206)

Also relevant to NV14
This commit is contained in:
Xy2019
2023-03-10 16:43:06 +10:00
committed by GitHub
parent f52fb2f257
commit 9a51ff8f0e
4 changed files with 20 additions and 1 deletions
@@ -214,6 +214,9 @@ static void SetSysClock(void);
*/
void SystemInit(void)
{
#if defined(PCBFLYSKY)
backlightLowInit();
#endif
/* FPU settings ------------------------------------------------------------*/
#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */