We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b7c2c3 commit 4b4115fCopy full SHA for 4b4115f
1 file changed
examples/stm32/f4/stm32f429i-discovery/lcd-dma/lcd-dma.c
@@ -164,7 +164,7 @@ static void lcd_dma_init(void)
164
RCC_PLLSAICFGR = (sain << RCC_PLLSAICFGR_PLLSAIN_SHIFT |
165
saiq << RCC_PLLSAICFGR_PLLSAIQ_SHIFT |
166
sair << RCC_PLLSAICFGR_PLLSAIR_SHIFT);
167
- RCC_DCKCFGR |= RCC_DCKCFGR_PLLSAIDIVR_DIVR_8;
+ RCC_DCKCFGR |= RCC_DCKCFGR_PLLSAIDIVR_DIVR_8 << RCC_DCKCFGR_PLLSAIDIVR_SHIFT;
168
RCC_CR |= RCC_CR_PLLSAION;
169
while ((RCC_CR & RCC_CR_PLLSAIRDY) == 0) {
170
continue;
0 commit comments