Skip to content

Commit 48c63ca

Browse files
committed
Use #if defined TARGET_STM32L4
1 parent 248dbaa commit 48c63ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/gpio_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ GPIO_TypeDef *Set_GPIO_Clock(uint32_t port_idx) {
7373
#endif
7474
#if defined GPIOG_BASE
7575
case PortG:
76-
#if defined STM32L4
76+
#if defined TARGET_STM32L4
7777
__HAL_RCC_PWR_CLK_ENABLE();
7878
HAL_PWREx_EnableVddIO2();
7979
#endif

0 commit comments

Comments
 (0)