mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Fix DSTS_FNSOF in dwc2.c
This commit is contained in:
parent
92ac041869
commit
9fde8f2d9e
@ -1276,7 +1276,7 @@ void dcd_int_handler(uint8_t rhport)
|
|||||||
|
|
||||||
if (_sof_en)
|
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);
|
dcd_event_sof(rhport, frame, true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user