Skip to content

Commit 24b38e5

Browse files
committed
[USBD] Fix wrong #ifdef directive
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent a08409f commit 24b38e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/stm32/usb/usbd_conf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ void USBWakeUp_IRQHandler(void)
442442
/* ungate PHY clock */
443443
__HAL_PCD_UNGATE_PHYCLOCK((&g_hpcd));
444444
}
445-
#ifdef USE_USB_HS && defined(__HAL_USB_OTG_HS_WAKEUP_EXTI_CLEAR_FLAG)
445+
#if defined(USE_USB_HS) && defined(__HAL_USB_OTG_HS_WAKEUP_EXTI_CLEAR_FLAG)
446446
/* Clear EXTI pending Bit*/
447447
__HAL_USB_OTG_HS_WAKEUP_EXTI_CLEAR_FLAG();
448448
#elif defined(USB_OTG_FS) && defined(__HAL_USB_OTG_FS_WAKEUP_EXTI_CLEAR_FLAG)

0 commit comments

Comments
 (0)