mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-30 13:20:33 +00:00
dcd_da146xx: Handle only enabled interrupts
Not much of an improvement but handle only interrupts that were enabled and are expected.
This commit is contained in:
parent
2eaf99e0aa
commit
c427712449
@ -1037,7 +1037,7 @@ void dcd_edpt_clear_stall(uint8_t rhport, uint8_t ep_addr)
|
||||
|
||||
void dcd_int_handler(uint8_t rhport)
|
||||
{
|
||||
uint32_t int_status = USB->USB_MAEV_REG;
|
||||
uint32_t int_status = USB->USB_MAEV_REG & USB->USB_MAMSK_REG;
|
||||
|
||||
(void)rhport;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user