mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
enable APB2 DSI clock
This commit is contained in:
@@ -644,6 +644,12 @@ static inline void rcc_enableapb2(void)
|
||||
regval |= RCC_APB2ENR_LTDCEN;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32F7_DSIHOST
|
||||
/* LTDC clock enable */
|
||||
|
||||
regval |= RCC_APB2ENR_DSIEN;
|
||||
#endif
|
||||
|
||||
putreg32(regval, STM32_RCC_APB2ENR); /* Enable peripherals */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user