git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9605 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
0f5c1e4702
commit
45b502b38e
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue