projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed over manual loops waiting for endpoints to be ready to use the library Endpoi...
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
USBInterrupt.c
diff --git
a/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
b/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
index
a039dff
..
00fe7d1
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/USBInterrupt.c
+++ b/
LUFA/Drivers/USB/HighLevel/USBInterrupt.c
@@
-223,7
+223,7
@@
ISR(USB_GEN_vect, ISR_BLOCK)
}
\r
\r
#if defined(INTERRUPT_CONTROL_ENDPOINT)
\r
}
\r
\r
#if defined(INTERRUPT_CONTROL_ENDPOINT)
\r
-ISR(USB_COM_vect, ISR_
NO
BLOCK)
\r
+ISR(USB_COM_vect, ISR_BLOCK)
\r
{
\r
uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint();
\r
\r
{
\r
uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint();
\r
\r
@@
-231,6
+231,6
@@
ISR(USB_COM_vect, ISR_NOBLOCK)
\r
USB_INT_Clear(USB_INT_ENDPOINT_SETUP);
\r
\r
\r
USB_INT_Clear(USB_INT_ENDPOINT_SETUP);
\r
\r
- Endpoint_SelectEndpoint(PrevSelectedEndpoint);
\r
+ Endpoint_SelectEndpoint(PrevSelectedEndpoint);
\r
}
\r
#endif
\r
}
\r
#endif
\r