From dab1c1ef00f843fb25d7248f11ddde0e00884c29 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 9 Nov 2015 10:56:50 +0000 Subject: Fixed bug #667. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8458 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F4xx/hal_lld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'os/hal/ports/STM32') diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.c b/os/hal/ports/STM32/STM32F4xx/hal_lld.c index ff9ff93fd..f17a494cf 100644 --- a/os/hal/ports/STM32/STM32F4xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.c @@ -245,7 +245,8 @@ void stm32_clock_init(void) { /* Other clock-related settings (dividers, MCO etc).*/ RCC->CFGR = STM32_MCO2PRE | STM32_MCO2SEL | STM32_MCO1PRE | STM32_MCO1SEL | - STM32_RTCPRE | STM32_PPRE2 | STM32_PPRE1 | STM32_HPRE; + STM32_I2SSRC | STM32_RTCPRE | STM32_PPRE2 | STM32_PPRE1 | + STM32_HPRE; /* Flash setup.*/ #if defined(STM32_USE_REVISION_A_FIX) -- cgit v1.2.3