projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed SET FEATURE and CLEAR FEATURE control requests directed at an unconfigured...
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
USBController.c
diff --git
a/LUFA/Drivers/USB/LowLevel/USBController.c
b/LUFA/Drivers/USB/LowLevel/USBController.c
index
907e2ba
..
7488a30
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/USBController.c
+++ b/
LUFA/Drivers/USB/LowLevel/USBController.c
@@
-250,9
+250,9
@@
void USB_ResetInterface(void)
USB_INT_Enable(USB_INT_VBUS);
#endif
USB_INT_Enable(USB_INT_VBUS);
#endif
- #if defined(CONTROL_ONLY_DEVICE)
- UENUM = ENDPOINT_CONTROLEP;
- #endif
+ Endpoint_ConfigureEndpoint(ENDPOINT_CONTROLEP, EP_TYPE_CONTROL,
+ ENDPOINT_DIR_OUT, USB_ControlEndpointSize,
+ ENDPOINT_BANK_SINGLE);
}
else if (USB_CurrentMode == USB_MODE_HOST)
{
}
else if (USB_CurrentMode == USB_MODE_HOST)
{