mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #3780 from pmancele/master
STM32L4 : Fix GPIO G port compatibilitypull/3898/head
commit
8fb95a6507
|
|
@ -73,6 +73,10 @@ GPIO_TypeDef *Set_GPIO_Clock(uint32_t port_idx) {
|
|||
#endif
|
||||
#if defined GPIOG_BASE
|
||||
case PortG:
|
||||
#if defined TARGET_STM32L4
|
||||
__HAL_RCC_PWR_CLK_ENABLE();
|
||||
HAL_PWREx_EnableVddIO2();
|
||||
#endif
|
||||
gpio_add = GPIOG_BASE;
|
||||
__GPIOG_CLK_ENABLE();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue