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