mirror of
https://github.com/hathach/tinyusb.git
synced 2025-05-08 23:01:36 +08:00
dwc2/host: clear SOF flag in handle_sof_irq()
This commit is contained in:
parent
8c1802e41d
commit
255ccf26ea
@ -1182,6 +1182,7 @@ static void handle_channel_irq(uint8_t rhport, bool in_isr) {
|
||||
static bool handle_sof_irq(uint8_t rhport, bool in_isr) {
|
||||
(void) in_isr;
|
||||
dwc2_regs_t* dwc2 = DWC2_REG(rhport);
|
||||
dwc2->gintsts = GINTSTS_SOF; // Clear the SOF interrupt flag
|
||||
|
||||
bool more_isr = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user