projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is...
[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
f15db40
..
5ac4761
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/LowLevel.c
+++ b/
LUFA/Drivers/USB/LowLevel/LowLevel.c
@@
-125,7
+125,7
@@
void USB_ShutDown(void)
\r
USB_IsInitialized = false;
\r
\r
\r
USB_IsInitialized = false;
\r
\r
- #if defined(CAN_BE_BOTH)
\r
+ #if defined(
USB_
CAN_BE_BOTH)
\r
USB_CurrentMode = USB_MODE_NONE;
\r
#endif
\r
}
\r
USB_CurrentMode = USB_MODE_NONE;
\r
#endif
\r
}
\r