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>
This commit is contained in:
Jim Mussared
2023-05-19 16:11:05 +10:00
committed by Damien George
parent 0000eb2724
commit f4b4d05e49
4 changed files with 6 additions and 6 deletions

View File

@@ -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) {