aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-04-30 14:17:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-04-30 14:17:41 +0000
commit52705ade8d83793d53602d74a3390e205208a7a1 (patch)
tree468bfebb03f15c60361f2a07acc11ed4453862ff /os
parent634ea27d8e36bca2a15932941da65ea3d4a4457a (diff)
downloadChibiOS-52705ade8d83793d53602d74a3390e205208a7a1.tar.gz
ChibiOS-52705ade8d83793d53602d74a3390e205208a7a1.tar.bz2
ChibiOS-52705ade8d83793d53602d74a3390e205208a7a1.zip
Fixed bug #492.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6895 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/STM32/GPIOv2/pal_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/GPIOv2/pal_lld.c b/os/hal/platforms/STM32/GPIOv2/pal_lld.c
index 91d397cdc..3cecf65e7 100644
--- a/os/hal/platforms/STM32/GPIOv2/pal_lld.c
+++ b/os/hal/platforms/STM32/GPIOv2/pal_lld.c
@@ -115,7 +115,7 @@ void _pal_lld_init(const PALConfig *config) {
/*
* Enables the GPIO related clocks.
*/
-#if defined(STM32L1XX_MD)
+#if defined(STM32L1XX_MD) || defined(STM32L1XX_MDP) || defined(STM32L1XX_HD)
rccEnableAHB(AHB_EN_MASK, TRUE);
RCC->AHBLPENR |= AHB_LPEN_MASK;
#elif defined(STM32F0XX)