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:
Jerzy Kasenberg 2021-09-23 13:36:28 +02:00
parent 2eaf99e0aa
commit c427712449
1 changed files with 1 additions and 1 deletions

View File

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