diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-10-20 10:49:37 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-10-20 10:49:37 +0000 |
commit | 5afc304e5afac82f2bce2837804019a21c259761 (patch) | |
tree | 00009b82ee8f0ebd241fccd57269e984e28d8731 /os/hal/platforms/STM32F4xx/hal_lld.c | |
parent | 2be22cfd28fd3d411369d14055ddc076cd46d4fc (diff) | |
download | ChibiOS-5afc304e5afac82f2bce2837804019a21c259761.tar.gz ChibiOS-5afc304e5afac82f2bce2837804019a21c259761.tar.bz2 ChibiOS-5afc304e5afac82f2bce2837804019a21c259761.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6369 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 ad3a32a0f..bbe45fe43 100644 --- a/os/hal/platforms/STM32F4xx/hal_lld.c +++ b/os/hal/platforms/STM32F4xx/hal_lld.c @@ -153,7 +153,7 @@ void stm32_clock_init(void) { /* PWR initialization.*/
#if defined(STM32F4XX) || defined(__DOXYGEN__)
- PWR->CR = STM32_VOS;
+ PWR->CR = STM32_VOS & STM32_VOS_MASK;
while ((PWR->CSR & PWR_CSR_VOSRDY) == 0)
; /* Waits until power regulator is stable. */
#else
|