diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-04-25 08:00:46 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-04-25 08:00:46 +0000 |
commit | e4ea2c6429f76cf6042d40530c61afd98672a29a (patch) | |
tree | 2caa9da3eed70c3615df1eb32e14a6d42962901a /os | |
parent | a8040053087f6e87318af6a83f40da57bc5fd374 (diff) | |
download | ChibiOS-e4ea2c6429f76cf6042d40530c61afd98672a29a.tar.gz ChibiOS-e4ea2c6429f76cf6042d40530c61afd98672a29a.tar.bz2 ChibiOS-e4ea2c6429f76cf6042d40530c61afd98672a29a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10177 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/STM32/STM32F4xx/hal_lld.c | 1 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32F7xx/hal_lld.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.c b/os/hal/ports/STM32/STM32F4xx/hal_lld.c index 69767e8c4..8bcc21085 100644 --- a/os/hal/ports/STM32/STM32F4xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.c @@ -244,7 +244,6 @@ void stm32_clock_init(void) { /* PLLSAI activation.*/
RCC->PLLSAICFGR = STM32_PLLSAIR | STM32_PLLSAIN | STM32_PLLSAIP |
STM32_PLLSAIQ | STM32_PLLSAIM;
-
RCC->CR |= RCC_CR_PLLSAION;
/* Waiting for PLL lock.*/
diff --git a/os/hal/ports/STM32/STM32F7xx/hal_lld.c b/os/hal/ports/STM32/STM32F7xx/hal_lld.c index 2b2bf1d2c..bf2366bd0 100644 --- a/os/hal/ports/STM32/STM32F7xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32F7xx/hal_lld.c @@ -247,7 +247,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))
|