diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2023-05-19 16:11:05 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-05-24 11:12:45 +1000 |
commit | f4b4d05e49dff1be3d8935c1e47069023cb03eab (patch) | |
tree | f324f609afd14ca1ff184836a708613c38b9668e /ports/stm32/stm32_it.c | |
parent | 0000eb27240037f7e95971f1f90e070c0a01d028 (diff) |
stm32/usb: Fix USB support on STM32G4.
Also fix MAX_ENDPOINT definition for G0, which follows G4.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'ports/stm32/stm32_it.c')
-rw-r--r-- | ports/stm32/stm32_it.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/stm32_it.c b/ports/stm32/stm32_it.c index ea9873094..78e7f1519 100644 --- a/ports/stm32/stm32_it.c +++ b/ports/stm32/stm32_it.c @@ -312,7 +312,7 @@ void USB_IRQHandler(void) { } #endif -#elif defined(STM32WB) +#elif defined(STM32G4) || defined(STM32WB) #if MICROPY_HW_USB_FS void USB_LP_IRQHandler(void) { |