add s3 undefined speed note for racing issue with reset.

fix dcd_event_sof() with frame number
This commit is contained in:
hathach
2025-01-20 22:47:32 +07:00
parent 2109b801d4
commit 5b32df5abd
2 changed files with 4 additions and 10 deletions

View File

@@ -565,7 +565,7 @@ void dcd_int_handler(uint8_t rhport)
if (is & USB_ISTAT_SOFTOK_MASK) {
KHCI->ISTAT = USB_ISTAT_SOFTOK_MASK;
dcd_event_bus_signal(rhport, DCD_EVENT_SOF, true);
dcd_event_sof(rhport, tu_u16(KHCI->FRMNUMH, KHCI->FRMNUML), true);
}
if (is & USB_ISTAT_STALL_MASK) {