diff options
| author | Ha Thach <[email protected]> | 2026-03-05 21:47:41 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-05 21:47:41 +0700 |
| commit | 97476872aa841fcd9cd622e4082d6c57b183c67f (patch) | |
| tree | 232aca150cd4c890457b363bfcbfba9ff9a656cd /hw | |
| parent | ae3864d21f2b206ae41d1d424b96fea0ac7e0dc6 (diff) | |
| parent | 75a5bedf357342762688a3fecc90739f58bbff0e (diff) | |
Merge pull request #3378 from hathach/dwc2_deinit
Add DWC2 deinit support
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/stm32f2/family.c | 2 | ||||
| -rw-r--r-- | hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/stm32f2/family.c b/hw/bsp/stm32f2/family.c index b901bf4cc..f1fd4ddb2 100644 --- a/hw/bsp/stm32f2/family.c +++ b/hw/bsp/stm32f2/family.c @@ -35,7 +35,7 @@ // Forward USB interrupt events to TinyUSB IRQ Handler //--------------------------------------------------------------------+ void OTG_FS_IRQHandler(void) { - tud_int_handler(0); + tusb_int_handler(0, true); } //--------------------------------------------------------------------+ diff --git a/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.h b/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.h index 16c2fd335..4b8564709 100644 --- a/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.h +++ b/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.h @@ -62,7 +62,7 @@ static board_pindef_t board_pindef[] = { { // Button .port = GPIOC, .pin_init = { .Pin = GPIO_PIN_13, .Mode = GPIO_MODE_INPUT, .Pull = GPIO_PULLUP, .Speed = GPIO_SPEED_FREQ_HIGH, .Alternate = 0 }, - .active_state = 1 + .active_state = 0 }, { // UART TX .port = GPIOD, |
