mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
Use correct definition.
This commit is contained in:
parent
9be10f2adb
commit
48e18762b5
@ -142,7 +142,7 @@ void board_init(void) {
|
||||
GPIO_InitStruct.Alternate = GPIO_AF10_USB;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
|
||||
#ifdef USB_OTG_HS
|
||||
#ifdef USB_DRD_FS
|
||||
// STM32U535/STM32U545
|
||||
|
||||
/* Enable USB power on Pwrctrl CR2 register */
|
||||
|
Loading…
x
Reference in New Issue
Block a user