Fix shimmering with the STM32F429-iDiscovery display

remotes/origin_old/ugfx_release_2.6
inmarket 2015-02-28 22:55:41 +10:00
parent a436128e50
commit 865b7887d0
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ static void LTDC_Init(void) {
RCC->APB2RSTR = 0;
/* Enable the LTDC clock.*/
RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | (2 << 16); /* /8 */
RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | (1 << 16); /* /4 */
// Enable the module
RCC->APB2ENR |= RCC_APB2ENR_LTDCEN;