From 2ee0bc4dfa152b71adb4ecef25f45a6e8780e617 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 21 Nov 2015 15:18:41 +0000 Subject: Restored bypass mode. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8517 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F1xx/hal_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal/ports/STM32/STM32F1xx') diff --git a/os/hal/ports/STM32/STM32F1xx/hal_lld.c b/os/hal/ports/STM32/STM32F1xx/hal_lld.c index d1e9c9eea..e765e1dde 100644 --- a/os/hal/ports/STM32/STM32F1xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32F1xx/hal_lld.c @@ -176,7 +176,7 @@ void stm32_clock_init(void) { #if STM32_HSE_ENABLED #if defined(STM32_HSE_BYPASS) /* HSE Bypass.*/ - RCC->CR |= RCC_CR_HSEBYP; + RCC->CR |= RCC_CR_HSEON | RCC_CR_HSEBYP; #endif /* HSE activation.*/ RCC->CR |= RCC_CR_HSEON; -- cgit v1.2.3