mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-09 18:44:31 +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)
|
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;
|
(void)rhport;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user