diff options
| author | Reinhard Panhuber <[email protected]> | 2022-03-16 07:53:47 +0100 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2022-03-16 07:53:47 +0100 |
| commit | 9fde8f2d9e311afc6ea3707f1ac3b245e0816a4c (patch) | |
| tree | a62ce3e48972d9d26cb18d00bad460e9d8d0be16 /src | |
| parent | 92ac041869b79aba6948e6440bbfc51ba77130ac (diff) | |
Fix DSTS_FNSOF in dwc2.c
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 d92b17703..ccc16d643 100644 --- a/src/portable/synopsys/dwc2/dcd_dwc2.c +++ b/src/portable/synopsys/dwc2/dcd_dwc2.c @@ -1276,7 +1276,7 @@ void dcd_int_handler(uint8_t rhport) if (_sof_en) { - uint32_t frame = (dwc2->dsts & (USB_OTG_DSTS_FNSOF)) >> 8; + uint32_t frame = (dwc2->dsts & (DSTS_FNSOF)) >> 8; dcd_event_sof(rhport, frame, true); } else |
