aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32L1xx/hal_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-12 09:06:49 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-12 09:06:49 +0000
commite0dbac1295c77bfec49037bdb0678c216978f655 (patch)
treec993bc095cddbe59d8d83b82e447efb6822a6a21 /os/hal/ports/STM32/STM32L1xx/hal_lld.c
parent184fa403fa9e1693aa03842313cafb3bc866315e (diff)
downloadChibiOS-e0dbac1295c77bfec49037bdb0678c216978f655.tar.gz
ChibiOS-e0dbac1295c77bfec49037bdb0678c216978f655.tar.bz2
ChibiOS-e0dbac1295c77bfec49037bdb0678c216978f655.zip
Fixed bug #495.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6928 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32L1xx/hal_lld.c')
-rw-r--r--os/hal/ports/STM32/STM32L1xx/hal_lld.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32L1xx/hal_lld.c b/os/hal/ports/STM32/STM32L1xx/hal_lld.c
index ece540b89..848b89c7a 100644
--- a/os/hal/ports/STM32/STM32L1xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32L1xx/hal_lld.c
@@ -120,7 +120,6 @@ void hal_lld_init(void) {
*
* @special
*/
-#if defined(STM32L1XX_MD) || defined(__DOXYGEN__)
/**
* @brief Clocks and internal voltage initialization.
*/
@@ -216,8 +215,5 @@ void stm32_clock_init(void) {
among multiple drivers.*/
rccEnableAPB2(RCC_APB2ENR_SYSCFGEN, TRUE);
}
-#else
-void stm32_clock_init(void) {}
-#endif
/** @} */