From 32d143ae634416a6cd40db219352b707cea2dcd3 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 8 Jan 2012 10:21:03 +0000 Subject: Fixed clock source for RT counter. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3762 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32L1xx/hal_lld.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/platforms/STM32L1xx/hal_lld.h') diff --git a/os/hal/platforms/STM32L1xx/hal_lld.h b/os/hal/platforms/STM32L1xx/hal_lld.h index 79d2ca725..c56b8efa3 100644 --- a/os/hal/platforms/STM32L1xx/hal_lld.h +++ b/os/hal/platforms/STM32L1xx/hal_lld.h @@ -1024,13 +1024,13 @@ typedef uint32_t halrtcnt_t; /** * @brief Realtime counter frequency. * @note The DWT_CYCCNT register is incremented directly by the system - * clock so this function returns STM32_SYSCLK. + * clock so this function returns STM32_HCLK. * * @return The realtime counter frequency of type halclock_t. * * @notapi */ -#define hal_lld_get_counter_frequency() STM32_SYSCLK +#define hal_lld_get_counter_frequency() STM32_HCLK /*===========================================================================*/ /* External declarations. */ -- cgit v1.2.3