Merge pull request #1352 from ETCLabs/fix-ehci-isr-status-clear-error
Updated the clearing of the status register bits to use a straight '=…
This commit is contained in:
@@ -657,7 +657,7 @@ void hcd_int_handler(uint8_t rhport)
|
||||
uint32_t int_status = regs->status;
|
||||
int_status &= regs->inten;
|
||||
|
||||
regs->status |= int_status; // Acknowledge handled interrupt
|
||||
regs->status = int_status; // Acknowledge handled interrupt
|
||||
|
||||
if (int_status == 0) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user