diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-04-30 14:17:51 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-04-30 14:17:51 +0000 |
commit | d54439d5fa2efea7a792b9df8eb90550c8411480 (patch) | |
tree | 7d8f94172ab52bf51e97fd47fea44d5341b6edcb /os/hal/ports/STM32/LLD | |
parent | a8752fb707e166f83c2b5b78c30f65f7e1d1ddea (diff) | |
download | ChibiOS-d54439d5fa2efea7a792b9df8eb90550c8411480.tar.gz ChibiOS-d54439d5fa2efea7a792b9df8eb90550c8411480.tar.bz2 ChibiOS-d54439d5fa2efea7a792b9df8eb90550c8411480.zip |
Fixed bug #492.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6897 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD')
-rw-r--r-- | os/hal/ports/STM32/LLD/GPIOv2/pal_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/GPIOv2/pal_lld.c b/os/hal/ports/STM32/LLD/GPIOv2/pal_lld.c index ce10e64d5..1fdcd8dbb 100644 --- a/os/hal/ports/STM32/LLD/GPIOv2/pal_lld.c +++ b/os/hal/ports/STM32/LLD/GPIOv2/pal_lld.c @@ -114,7 +114,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)
|