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.
|
// Dedicated buffers in hardware for SETUP and EP0, no setup needed.
|
||||||
USBOEPCNT_0 &= ~NAK;
|
USBOEPCNT_0 &= ~NAK;
|
||||||
USBIEPCNT_0 &= ~NAK;
|
USBIEPCNT_0 &= ~NAK;
|
||||||
|
|
||||||
|
// Now safe to respond to SETUP packets.
|
||||||
|
USBIE |= SETUPIE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue