mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
dcd_msp430x5xx: Fix Setup packet delay by actually enabling
corresponding interrupt.
This commit is contained in:
parent
550e8215f3
commit
01b4115b0b
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user