Use #if defined TARGET_STM32L4

pull/3780/head
Pierre-Marie Ancele 2017-02-23 09:32:12 +01:00
parent 248dbaabe2
commit 48c63cacdb
1 changed files with 1 additions and 1 deletions

View File

@ -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