aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/GPIOv2
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-07-26 06:17:10 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-07-26 06:17:10 +0000
commitc96f0b2bbf7c911a5d23d6c9920f1c6f4d766c8c (patch)
tree53c0ebd122fe369cc08b4ed3bf885ba39e9a07f1 /os/hal/ports/STM32/LLD/GPIOv2
parentb05e7e8c4464bda8fecd21ff80086a34edf9292c (diff)
downloadChibiOS-c96f0b2bbf7c911a5d23d6c9920f1c6f4d766c8c.tar.gz
ChibiOS-c96f0b2bbf7c911a5d23d6c9920f1c6f4d766c8c.tar.bz2
ChibiOS-c96f0b2bbf7c911a5d23d6c9920f1c6f4d766c8c.zip
More STM32L0xx support files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8104 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/GPIOv2')
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv2/pal_lld.c2
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 2ba0b3b68..3a9e00db5 100644
--- a/os/hal/ports/STM32/LLD/GPIOv2/pal_lld.c
+++ b/os/hal/ports/STM32/LLD/GPIOv2/pal_lld.c
@@ -91,7 +91,7 @@ void _pal_lld_init(const PALConfig *config) {
* Enables the GPIO related clocks.
*/
#if defined(STM32L0XX)
- rccEnableAHB(AHB_EN_MASK, TRUE);
+ RCC->IOPENR |= AHB_EN_MASK;
RCC->IOPSMENR |= AHB_LPEN_MASK;
#elif defined(STM32L1XX)
rccEnableAHB(AHB_EN_MASK, TRUE);