Fix PCLK polarity

This commit is contained in:
2023-03-08 22:51:54 +01:00
parent 9dab2067cc
commit 641fa3b236
3 changed files with 6 additions and 3 deletions

View File

@ -372,7 +372,7 @@ static void MX_LTDC_Init(void) {
hltdc.Init.HSPolarity = LTDC_HSPOLARITY_AL;
hltdc.Init.VSPolarity = LTDC_VSPOLARITY_AL;
hltdc.Init.DEPolarity = LTDC_DEPOLARITY_AL;
hltdc.Init.PCPolarity = LTDC_PCPOLARITY_IPC;
hltdc.Init.PCPolarity = LTDC_PCPOLARITY_IIPC;
hltdc.Init.HorizontalSync = 4;
hltdc.Init.VerticalSync = 1;
hltdc.Init.AccumulatedHBP = 9;