Back to original

This commit is contained in:
Jerry Palacios
2024-02-07 17:03:13 -06:00
parent 17cd5e0952
commit 6c4a5292a6
74 changed files with 3852 additions and 2640 deletions

View File

@@ -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;