dcd_msp430x5xx: Fix Setup packet delay by actually enabling

corresponding interrupt.
This commit is contained in:
William D. Jones 2019-09-24 04:06:34 -04:00
parent 550e8215f3
commit 01b4115b0b
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ static void bus_reset(void)
// Dedicated buffers in hardware for SETUP and EP0, no setup needed.
USBOEPCNT_0 &= ~NAK;
USBIEPCNT_0 &= ~NAK;
// Now safe to respond to SETUP packets.
USBIE |= SETUPIE;
}