diff options
| author | Jerry Palacios <[email protected]> | 2024-02-07 17:03:13 -0600 |
|---|---|---|
| committer | Jerry Palacios <[email protected]> | 2024-02-07 17:03:13 -0600 |
| commit | 6c4a5292a6a59dec1b7f37be42725ea85205f3c9 (patch) | |
| tree | 774cb5a4fa024cc11ee32989fce90097744f0b9e /src/portable | |
| parent | 17cd5e095255103696e1dde3c5dc7f06ef61274c (diff) | |
Back to original
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/synopsys/dwc2/dcd_dwc2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/synopsys/dwc2/dcd_dwc2.c b/src/portable/synopsys/dwc2/dcd_dwc2.c index ac93632be..3e15d51c6 100644 --- a/src/portable/synopsys/dwc2/dcd_dwc2.c +++ b/src/portable/synopsys/dwc2/dcd_dwc2.c @@ -1130,8 +1130,8 @@ void dcd_int_handler(uint8_t rhport) { dwc2->gotgint = otg_int; } - if (int_status & GINTSTS_SOF) { - dwc2->gotgint = GINTSTS_SOF; + if(int_status & GINTSTS_SOF) { + dwc2->gintsts = GINTSTS_SOF; if (_sof_en) { uint32_t frame = (dwc2->dsts & (DSTS_FNSOF)) >> 8; |
