git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9605 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
Giovanni Di Sirio 2016-06-08 13:55:24 +00:00
parent 0f5c1e4702
commit 45b502b38e
1 changed files with 3 additions and 3 deletions

View File

@ -31,8 +31,8 @@
/*===========================================================================*/
#if defined(STM32L4XX)
#define AHB1_EN_MASK STM32_GPIO_EN_MASK
#define AHB1_LPEN_MASK 0
#define AHB2_EN_MASK STM32_GPIO_EN_MASK
#define AHB2_LPEN_MASK 0
#else
#error "missing or unsupported platform for GPIOv3 PAL driver"
@ -85,7 +85,7 @@ void _pal_lld_init(const PALConfig *config) {
* Enables the GPIO related clocks.
*/
#if defined(STM32L4XX)
RCC->AHB2ENR |= AHB1_EN_MASK;
RCC->AHB2ENR |= AHB2_EN_MASK;
#endif
/*