X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/042d3288ad52301c5b0ef69eada03eee83497dda..abc7dce10c03bcbc9659e1a9643cec30c465867d:/LUFA/Drivers/USB/HighLevel/USBInterrupt.c diff --git a/LUFA/Drivers/USB/HighLevel/USBInterrupt.c b/LUFA/Drivers/USB/HighLevel/USBInterrupt.c index a039dffb6..00fe7d1dc 100644 --- a/LUFA/Drivers/USB/HighLevel/USBInterrupt.c +++ b/LUFA/Drivers/USB/HighLevel/USBInterrupt.c @@ -223,7 +223,7 @@ ISR(USB_GEN_vect, ISR_BLOCK) } #if defined(INTERRUPT_CONTROL_ENDPOINT) -ISR(USB_COM_vect, ISR_NOBLOCK) +ISR(USB_COM_vect, ISR_BLOCK) { uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint(); @@ -231,6 +231,6 @@ ISR(USB_COM_vect, ISR_NOBLOCK) USB_INT_Clear(USB_INT_ENDPOINT_SETUP); - Endpoint_SelectEndpoint(PrevSelectedEndpoint); + Endpoint_SelectEndpoint(PrevSelectedEndpoint); } #endif