diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-10 21:46:34 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-10 21:46:34 +0000 |
commit | a7b039fae4798eb96b28a8cb59267d26fb9261a9 (patch) | |
tree | e3a6f761bf1e85786b7b2f6dfbc30a3617cbc94e /os/hal | |
parent | e4cdc96106cefcc970f4b06e7ffed1032e6db0d2 (diff) | |
download | ChibiOS-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')
-rw-r--r-- | os/hal/platforms/STM8L/hal_lld.c | 4 | ||||
-rw-r--r-- | os/hal/platforms/STM8L/hal_lld.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM8L/hal_lld.c b/os/hal/platforms/STM8L/hal_lld.c index 881a09fdd..8c0f645a6 100644 --- a/os/hal/platforms/STM8L/hal_lld.c +++ b/os/hal/platforms/STM8L/hal_lld.c @@ -39,7 +39,7 @@ /**
* @brief PAL setup.
* @details Digital I/O ports static configuration as defined in @p board.h.
- */
+ *//*
ROMCONST PALConfig pal_default_config =
{
{
@@ -55,7 +55,7 @@ ROMCONST PALConfig pal_default_config = {VAL_GPIOIODR, 0, VAL_GPIOIDDR, VAL_GPIOICR1, VAL_GPIOICR2},
#endif
}
-};
+};*/
/*===========================================================================*/
/* Driver local functions. */
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"
|