aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-08-17 12:38:24 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-08-17 12:38:24 +0000
commitecd82778cf9a53e34f13d9ce6dcd7e1a4cf76b70 (patch)
treec9c4a38b9a264ea77f4a18b64b3da51560d7f079 /LUFA/Drivers/USB/HighLevel/USBInterrupt.c
parent09bedd6555a72c70f6d6bfb965225d44dec171cd (diff)
downloadlufa-ecd82778cf9a53e34f13d9ce6dcd7e1a4cf76b70.tar.gz
lufa-ecd82778cf9a53e34f13d9ce6dcd7e1a4cf76b70.tar.bz2
lufa-ecd82778cf9a53e34f13d9ce6dcd7e1a4cf76b70.zip
Added beginnings of a new AVRISP-MKII clone project.
Added new Endpoint_SetEndpointDirection() macro to set the current endpoint direction for bidirectional endpoints. Renamed internal USB_INT_ENDPOINT_SETUP macro to USB_INT_RXSTPI to fit in with the rest of the interrupt vector macros.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/USBInterrupt.c')
-rw-r--r--LUFA/Drivers/USB/HighLevel/USBInterrupt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/USBInterrupt.c b/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
index a8083c92a..f58e67010 100644
--- a/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
+++ b/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
@@ -148,7 +148,7 @@ ISR(USB_GEN_vect, ISR_BLOCK)
ENDPOINT_BANK_SINGLE);
#if defined(INTERRUPT_CONTROL_ENDPOINT)
- USB_INT_Enable(USB_INT_ENDPOINT_SETUP);
+ USB_INT_Enable(USB_INT_RXSTPI);
#endif
EVENT_USB_Device_Reset();
@@ -236,7 +236,7 @@ ISR(USB_COM_vect, ISR_BLOCK)
USB_USBTask();
- USB_INT_Clear(USB_INT_ENDPOINT_SETUP);
+ USB_INT_Clear(USB_INT_RXSTPI);
Endpoint_SelectEndpoint(PrevSelectedEndpoint);
}