projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed USB_Device_SetHighSpeed() to USB_Device_SetFullSpeed() so that the correct...
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
LowLevel.c
diff --git
a/LUFA/Drivers/USB/LowLevel/LowLevel.c
b/LUFA/Drivers/USB/LowLevel/LowLevel.c
index
41d9e10
..
3ad1e98
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/LowLevel.c
+++ b/
LUFA/Drivers/USB/LowLevel/LowLevel.c
@@
-121,7
+121,9
@@
void USB_ShutDown(void)
USB_ResetInterface();
\r
USB_Detach();
\r
USB_Controller_Disable();
\r
USB_ResetInterface();
\r
USB_Detach();
\r
USB_Controller_Disable();
\r
- USB_PLL_Off();
\r
+
\r
+ if (!(USB_Options & USB_OPT_MANUAL_PLL))
\r
+ USB_PLL_Off();
\r
\r
#if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
\r
USB_OTGPAD_Off();
\r
\r
#if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
\r
USB_OTGPAD_Off();
\r
@@
-188,7
+190,7
@@
void USB_ResetInterface(void)
if (USB_Options & USB_DEVICE_OPT_LOWSPEED)
\r
USB_Device_SetLowSpeed();
\r
else
\r
if (USB_Options & USB_DEVICE_OPT_LOWSPEED)
\r
USB_Device_SetLowSpeed();
\r
else
\r
- USB_Device_Set
High
Speed();
\r
+ USB_Device_Set
Full
Speed();
\r
\r
USB_INT_Enable(USB_INT_VBUS);
\r
}
\r
\r
USB_INT_Enable(USB_INT_VBUS);
\r
}
\r