diff options
| author | hathach <[email protected]> | 2020-06-14 18:28:45 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-06-14 18:28:45 +0700 |
| commit | a347de6e50e98b339a1605dc927c0417e79b86a5 (patch) | |
| tree | dca242858aba99e90cc53c93289bc57f5ca50c5a /hw/bsp | |
| parent | e92118635cc8055a5ca599eaf9919d99a55bf584 (diff) | |
revert CFG_TUSB_RHPORT0_MODE to previous way
Diffstat (limited to 'hw/bsp')
| -rw-r--r-- | hw/bsp/stm32h743eval/stm32h743eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/bsp/stm32h743eval/stm32h743eval.c b/hw/bsp/stm32h743eval/stm32h743eval.c index 836f1ecab..a28110920 100644 --- a/hw/bsp/stm32h743eval/stm32h743eval.c +++ b/hw/bsp/stm32h743eval/stm32h743eval.c @@ -262,9 +262,8 @@ void board_init(void) // Enable VBUS sense (B device) via pin PA9 USB_OTG_FS->GCCFG |= USB_OTG_GCCFG_VBDEN; -#endif -#if BOARD_DEVICE_RHPORT_NUM == 1 +#elif BOARD_DEVICE_RHPORT_NUM == 1 // Despite being call USB2_OTG // OTG_HS is marked as RHPort1 by TinyUSB to be consistent across stm32 port |
