aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-07-10 14:50:12 +0200
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-07-10 14:50:12 +0200
commit5a1f527fcfa9e6bd69517be78481dc7688cb6522 (patch)
tree6722cb672129058baf599e43139f4491ef8cc9a1 /drivers/gdisp
parent6af2d41ea39474900b74e9fad5d2fbad5a6c302f (diff)
downloaduGFX-5a1f527fcfa9e6bd69517be78481dc7688cb6522.tar.gz
uGFX-5a1f527fcfa9e6bd69517be78481dc7688cb6522.tar.bz2
uGFX-5a1f527fcfa9e6bd69517be78481dc7688cb6522.zip
working on the LTDC driver (not done yet and also hacky code)
Diffstat (limited to 'drivers/gdisp')
-rw-r--r--drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c b/drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c
index 118b6874..a6a185ee 100644
--- a/drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c
+++ b/drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c
@@ -153,7 +153,7 @@ static void LTDC_Init(void)
RCC->APB2RSTR = 0;
/* Enable the LTDC clock.*/
- RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | (1 << 16); /* /4 */
+ RCC->DCKCFGR1 = (RCC->DCKCFGR1 & ~RCC_DCKCFGR1_PLLSAIDIVR) | (1 << 16); /* /4 */
// Enable the module
RCC->APB2ENR |= RCC_APB2ENR_LTDCEN;