diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-21 15:18:41 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-21 15:18:41 +0000 |
commit | 2ee0bc4dfa152b71adb4ecef25f45a6e8780e617 (patch) | |
tree | 3352ba4df341878ee65863be8432d542b2f84e4a /os/hal/ports/STM32/STM32L1xx | |
parent | 5128c3175507dbc3c508f76b7d0c5a6608ecff08 (diff) | |
download | ChibiOS-2ee0bc4dfa152b71adb4ecef25f45a6e8780e617.tar.gz ChibiOS-2ee0bc4dfa152b71adb4ecef25f45a6e8780e617.tar.bz2 ChibiOS-2ee0bc4dfa152b71adb4ecef25f45a6e8780e617.zip |
Restored bypass mode.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8517 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32L1xx')
-rw-r--r-- | os/hal/ports/STM32/STM32L1xx/hal_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/STM32L1xx/hal_lld.c b/os/hal/ports/STM32/STM32L1xx/hal_lld.c index d3838f8ab..c32053a0a 100644 --- a/os/hal/ports/STM32/STM32L1xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32L1xx/hal_lld.c @@ -161,7 +161,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;
|