From 31df47b920a3d66bff8645ed20b4fe8480929a39 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 30 Oct 2015 09:46:39 +0000 Subject: Fixed bug #657. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8409 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32L1xx/hal_lld.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'os/hal') diff --git a/os/hal/ports/STM32/STM32L1xx/hal_lld.h b/os/hal/ports/STM32/STM32L1xx/hal_lld.h index fb3b4d72c..23160b77e 100644 --- a/os/hal/ports/STM32/STM32L1xx/hal_lld.h +++ b/os/hal/ports/STM32/STM32L1xx/hal_lld.h @@ -163,10 +163,10 @@ #define STM32_MCOSEL_LSE (7 << 24) /**< LSE clock on MCO pin. */ #define STM32_MCOPRE_DIV1 (0 << 28) /**< MCO divided by 1. */ -#define STM32_MCOPRE_DIV2 (1 << 28) /**< MCO divided by 1. */ -#define STM32_MCOPRE_DIV4 (2 << 28) /**< MCO divided by 1. */ -#define STM32_MCOPRE_DIV8 (3 << 28) /**< MCO divided by 1. */ -#define STM32_MCOPRE_DIV16 (4 << 28) /**< MCO divided by 1. */ +#define STM32_MCOPRE_DIV2 (1 << 28) /**< MCO divided by 2. */ +#define STM32_MCOPRE_DIV4 (2 << 28) /**< MCO divided by 4. */ +#define STM32_MCOPRE_DIV8 (3 << 28) /**< MCO divided by 8. */ +#define STM32_MCOPRE_DIV16 (4 << 28) /**< MCO divided by 16. */ /** @} */ /** @@ -728,7 +728,7 @@ #endif /** - * @brief MCO divider clock. + * @brief MCO clock before divider. */ #if (STM32_MCOSEL == STM32_MCOSEL_NOCLOCK) || defined(__DOXYGEN__) #define STM32_MCODIVCLK 0 -- cgit v1.2.3