X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/e977774d4e529ff2f668549197323924ff2a53d4..fc31973daffea3506051ce51a5f79383ce0867d6:/LUFA/Drivers/USB/LowLevel/USBInterrupt.c diff --git a/LUFA/Drivers/USB/LowLevel/USBInterrupt.c b/LUFA/Drivers/USB/LowLevel/USBInterrupt.c index 925248d13..2d9e35b72 100644 --- a/LUFA/Drivers/USB/LowLevel/USBInterrupt.c +++ b/LUFA/Drivers/USB/LowLevel/USBInterrupt.c @@ -235,7 +235,10 @@ ISR(USB_COM_vect, ISR_BLOCK) { uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint(); + USB_INT_Disable(USB_INT_RXSTPI); + sei(); USB_USBTask(); + USB_INT_Enable(USB_INT_RXSTPI); USB_INT_Clear(USB_INT_RXSTPI);