diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-15 08:02:07 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-15 08:02:07 +0000 |
commit | 7474bb1c105be4221812eb272e2a8764ae74bee7 (patch) | |
tree | 04db1a16cc0f389c04da67868d412fdbab3569b9 /os/hal | |
parent | ac6372224526c8de6f6a040d33e0309c501df73d (diff) | |
download | ChibiOS-7474bb1c105be4221812eb272e2a8764ae74bee7.tar.gz ChibiOS-7474bb1c105be4221812eb272e2a8764ae74bee7.tar.bz2 ChibiOS-7474bb1c105be4221812eb272e2a8764ae74bee7.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2642 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/platforms/STM32/hal_lld.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32/hal_lld.c b/os/hal/platforms/STM32/hal_lld.c index 97fbabcfc..8d8322033 100644 --- a/os/hal/platforms/STM32/hal_lld.c +++ b/os/hal/platforms/STM32/hal_lld.c @@ -114,12 +114,12 @@ void stm32_clock_init(void) { /* Clock settings.*/
#if STM32_HAS_USB
- RCC->CFGR = STM32_MCO | STM32_USBPRE | STM32_PLLMUL | STM32_PLLXTPRE |
- STM32_PLLSRC | STM32_ADCPRE | STM32_PPRE2 | STM32_PPRE1 |
+ RCC->CFGR = STM32_MCO | STM32_USBPRE | STM32_PLLMUL | STM32_PLLXTPRE |
+ STM32_PLLSRC | STM32_ADCPRE | STM32_PPRE2 | STM32_PPRE1 |
STM32_HPRE;
#else
- RCC->CFGR = STM32_MCO | STM32_PLLMUL | STM32_PLLXTPRE |
- STM32_PLLSRC | STM32_ADCPRE | STM32_PPRE2 | STM32_PPRE1 |
+ RCC->CFGR = STM32_MCO | STM32_PLLMUL | STM32_PLLXTPRE |
+ STM32_PLLSRC | STM32_ADCPRE | STM32_PPRE2 | STM32_PPRE1 |
STM32_HPRE;
#endif
|