mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-05 18:40:28 +00:00
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:
commit
6dd4d50213
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user