diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-12 09:22:43 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-12 09:22:43 +0000 |
commit | b04461616c2f33eccfb08a439c36344e9dda40c5 (patch) | |
tree | 768055030b421df7a6a2571aa3bf88d2d8bd3112 /os/hal/platforms/STM32F4xx/hal_lld.c | |
parent | 52d0b057aedb5107e93aa9c1b3e3a7f06c1ba6dc (diff) | |
download | ChibiOS-b04461616c2f33eccfb08a439c36344e9dda40c5.tar.gz ChibiOS-b04461616c2f33eccfb08a439c36344e9dda40c5.tar.bz2 ChibiOS-b04461616c2f33eccfb08a439c36344e9dda40c5.zip |
Fixed bug 3503490.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4193 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F4xx/hal_lld.c')
-rw-r--r-- | os/hal/platforms/STM32F4xx/hal_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32F4xx/hal_lld.c b/os/hal/platforms/STM32F4xx/hal_lld.c index 8982da7b9..61bceab37 100644 --- a/os/hal/platforms/STM32F4xx/hal_lld.c +++ b/os/hal/platforms/STM32F4xx/hal_lld.c @@ -189,7 +189,7 @@ void stm32_clock_init(void) { #if STM32_ACTIVATE_PLLI2S
/* PLLI2S activation.*/
- RCC->PLLI2SCFGR = STM32_PLLI2SR_VALUE | STM32_PLLI2SN_VALUE;
+ RCC->PLLI2SCFGR = STM32_PLLI2SR | STM32_PLLI2SN;
RCC->CR |= RCC_CR_PLLI2SON;
while (!(RCC->CR & RCC_CR_PLLI2SRDY))
; /* Waits until PLLI2S is stable. */
|