diff options
| author | Michiel van Leeuwen <[email protected]> | 2023-04-28 11:39:39 +0200 |
|---|---|---|
| committer | Michiel van Leeuwen <[email protected]> | 2023-04-28 12:55:58 +0200 |
| commit | 678edbe20320fe4d17437a9175ec8ff88f752ecb (patch) | |
| tree | 4a1ce16966951779445a5ded2aeb129f2eb404fc /src | |
| parent | 5ade91780578bca10bae048a58fed4b788b553d1 (diff) | |
Check correct interrupt flag
Fixes #1737
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/synopsys/dwc2/dcd_dwc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/synopsys/dwc2/dcd_dwc2.c b/src/portable/synopsys/dwc2/dcd_dwc2.c index bcd584953..d84014789 100644 --- a/src/portable/synopsys/dwc2/dcd_dwc2.c +++ b/src/portable/synopsys/dwc2/dcd_dwc2.c @@ -1322,7 +1322,7 @@ void dcd_int_handler(uint8_t rhport) do { handle_rxflvl_irq(rhport); - } while(dwc2->gotgint & GINTSTS_RXFLVL); + } while(dwc2->gintsts & GINTSTS_RXFLVL); // Manage RX FIFO size if (_out_ep_closed) |
