projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build error in TestApp demo caused by previous commit.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
USBInterrupt.c
diff --git
a/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
b/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
index
20545a4
..
51a761a
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/USBInterrupt.c
+++ b/
LUFA/Drivers/USB/HighLevel/USBInterrupt.c
@@
-93,7
+93,10
@@
ISR(USB_GEN_vect, ISR_BLOCK)
\r
USB_Detach();
\r
USB_CLK_Freeze();
\r
\r
USB_Detach();
\r
USB_CLK_Freeze();
\r
- USB_PLL_Off();
\r
+
\r
+ if (!(USB_Options & USB_OPT_MANUAL_PLL))
\r
+ USB_PLL_Off();
\r
+
\r
USB_REG_Off();
\r
\r
EVENT_USB_VBUSDisconnect();
\r
USB_REG_Off();
\r
\r
EVENT_USB_VBUSDisconnect();
\r
@@
-249,7
+252,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_BLOCK)
\r
+ISR(USB_COM_vect, ISR_
NO
BLOCK)
\r
{
\r
uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint();
\r
\r
{
\r
uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint();
\r
\r