mirror of https://github.com/ARMmbed/mbed-os.git
Use #if defined TARGET_STM32L4
parent
248dbaabe2
commit
48c63cacdb
|
@ -73,7 +73,7 @@ GPIO_TypeDef *Set_GPIO_Clock(uint32_t port_idx) {
|
|||
#endif
|
||||
#if defined GPIOG_BASE
|
||||
case PortG:
|
||||
#if defined STM32L4
|
||||
#if defined TARGET_STM32L4
|
||||
__HAL_RCC_PWR_CLK_ENABLE();
|
||||
HAL_PWREx_EnableVddIO2();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue