aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM8L/hal_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-10 21:46:34 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-10 21:46:34 +0000
commita7b039fae4798eb96b28a8cb59267d26fb9261a9 (patch)
treee3a6f761bf1e85786b7b2f6dfbc30a3617cbc94e /os/hal/platforms/STM8L/hal_lld.h
parente4cdc96106cefcc970f4b06e7ffed1032e6db0d2 (diff)
downloadChibiOS-a7b039fae4798eb96b28a8cb59267d26fb9261a9.tar.gz
ChibiOS-a7b039fae4798eb96b28a8cb59267d26fb9261a9.tar.bz2
ChibiOS-a7b039fae4798eb96b28a8cb59267d26fb9261a9.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2345 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM8L/hal_lld.h')
-rw-r--r--os/hal/platforms/STM8L/hal_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM8L/hal_lld.h b/os/hal/platforms/STM8L/hal_lld.h
index c7a62baae..891f2650b 100644
--- a/os/hal/platforms/STM8L/hal_lld.h
+++ b/os/hal/platforms/STM8L/hal_lld.h
@@ -228,7 +228,7 @@
#define RTCCLK (LSICLK / (1 << STM8L_RTCCLK_DIVIDER))
#elif STM8L_RTCCLK_SOURCE == CLK_RTCSEL_HSE
#define RTCCLK (HSECLK / (1 << STM8L_RTCCLK_DIVIDER))
-#elif STM8L_SYSCLK_SOURCE == CLK_RTCSEL_LSE
+#elif STM8L_RTCCLK_SOURCE == CLK_RTCSEL_LSE
#define RTCCLK (LSECLK / (1 << STM8L_RTCCLK_DIVIDER))
#else
#error "specified invalid RTCCLK source"