dcd_msp430x5xx: Fix Setup packet delay by actually enabling
corresponding interrupt.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user