aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-08-24 12:49:43 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-08-24 12:49:43 +0000
commit5c969f63735eae2c813969bf41ee062c47b1da1b (patch)
tree214213605db9c2a0326527ec05e3d8e420890868 /os/hal/ports/STM32
parent1512038d266bd1a11dfac892eeedc91261ff9bcc (diff)
downloadChibiOS-5c969f63735eae2c813969bf41ee062c47b1da1b.tar.gz
ChibiOS-5c969f63735eae2c813969bf41ee062c47b1da1b.tar.bz2
ChibiOS-5c969f63735eae2c813969bf41ee062c47b1da1b.zip
Fixed Bug #769.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9739 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r--os/hal/ports/STM32/STM32L0xx/hal_lld.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/STM32L0xx/hal_lld.h b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
index bd295856b..843e66dff 100644
--- a/os/hal/ports/STM32/STM32L0xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
@@ -273,9 +273,9 @@
#define STM32_LPTIM1SEL_HSI16 (2 << 18) /**< LPTIM1 clock is HSI16. */
#define STM32_LPTIM1SEL_LSE (3 << 18) /**< LPTIM1 clock is LSE. */
-#define STM32_HSI48SEL_MASK (1 << 27) /**< HSI48SEL clock source mask.*/
-#define STM32_HSI48SEL_USBPLL (0 << 27) /**< USB48 clock is PLL/2. */
-#define STM32_HSI48SEL_HSI48 (1 << 27) /**< USB48 clock is HSI48. */
+#define STM32_HSI48SEL_MASK (1 << 26) /**< HSI48SEL clock source mask.*/
+#define STM32_HSI48SEL_USBPLL (0 << 26) /**< USB48 clock is PLL/2. */
+#define STM32_HSI48SEL_HSI48 (1 << 26) /**< USB48 clock is HSI48. */
/** @} */
/*===========================================================================*/