From 52705ade8d83793d53602d74a3390e205208a7a1 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 30 Apr 2014 14:17:41 +0000 Subject: [PATCH] Fixed bug #492. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6895 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/GPIOv2/pal_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)