diff options
| author | Zixun LI <[email protected]> | 2026-01-24 10:37:02 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-24 10:37:02 +0100 |
| commit | 180fab0f39b0a9db4577e63f222014451aae5bf8 (patch) | |
| tree | 6f9217f66f9a6fa9e6820538f839de8e3bf295f6 | |
| parent | 6e891c6dc716d6ae91fdc54aaec2899f788e14fc (diff) | |
| parent | d89a5812c3b3d1d88911f9c6307f343c9d3756bd (diff) | |
Merge pull request #3469 from verylowfreq/pr-fsdev-fix-for-ch32v20x
Fix USB FSDEV enumeration on CH32V20x by enabling D+ Pull-up
| -rw-r--r-- | src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c b/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c index 22a9e4af8..a6abc6244 100644 --- a/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c +++ b/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c @@ -833,7 +833,7 @@ void dcd_int_disable(uint8_t rhport) { fsdev_int_disable(rhport); } - #if defined(USB_BCDR_DPPU) || defined(SYSCFG_PMC_USB_PU) + #if defined(USB_BCDR_DPPU) || defined(SYSCFG_PMC_USB_PU) || defined(EXTEN_USBD_PU_EN) void dcd_connect(uint8_t rhport) { fsdev_connect(rhport); } |
