Fixed bug #834.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@10178 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
2975e66c04
commit
5e5afbbe34
|
@ -235,7 +235,6 @@ void stm32_clock_init(void) {
|
|||
#if STM32_ACTIVATE_PLLSAI
|
||||
/* PLLSAI activation.*/
|
||||
RCC->PLLSAICFGR = STM32_PLLSAIN | STM32_PLLSAIR | STM32_PLLSAIQ;
|
||||
RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | STM32_PLLSAIR_POST;
|
||||
RCC->CR |= RCC_CR_PLLSAION;
|
||||
|
||||
/* Waiting for PLL lock.*/
|
||||
|
|
|
@ -246,7 +246,7 @@ void stm32_clock_init(void) {
|
|||
/* PLLSAI activation.*/
|
||||
RCC->PLLSAICFGR = STM32_PLLSAIR | STM32_PLLSAIQ | STM32_PLLSAIP |
|
||||
STM32_PLLSAIN;
|
||||
RCC->CR |= RCC_CR_PLLSAION;
|
||||
RCC->CR |= RCC_CR_PLLSAION;
|
||||
|
||||
/* Waiting for PLL lock.*/
|
||||
while (!(RCC->CR & RCC_CR_PLLSAIRDY))
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 16.1.8 ***
|
||||
- HAL: Fixed invalid constant in STM32F4 PLLSAI initialization code (bug #834).
|
||||
- HAL: Fixed STM32 OTGv1 number of endpoints (bug #833).
|
||||
- HAL: Fixed transaction end problem with STM32 OTGv1 driver (bug #832).
|
||||
- HAL: Fixed wrong comment in STM32F7 mcuconf (bug #830).
|
||||
|
|
Loading…
Reference in New Issue