aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-11-25 04:23:40 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-11-25 04:23:40 +0000
commitab602a8b48e7ba504447bf3d6ec3fb3a69d40e9a (patch)
tree8c51c1c7d2a4497a1177b78c1c6ae98f59d99780 /LUFA
parenta04131cf04c88fec4d563064b157751315b5116a (diff)
downloadlufa-ab602a8b48e7ba504447bf3d6ec3fb3a69d40e9a.tar.gz
lufa-ab602a8b48e7ba504447bf3d6ec3fb3a69d40e9a.tar.bz2
lufa-ab602a8b48e7ba504447bf3d6ec3fb3a69d40e9a.zip
Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.
Diffstat (limited to 'LUFA')
-rw-r--r--LUFA/Drivers/USB/Class/Host/CDC.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/CDC.c b/LUFA/Drivers/USB/Class/Host/CDC.c
index e284492a4..cf9dc1ebb 100644
--- a/LUFA/Drivers/USB/Class/Host/CDC.c
+++ b/LUFA/Drivers/USB/Class/Host/CDC.c
@@ -112,7 +112,7 @@ uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo
{
if (Pipe_IsEndpointBound(EndpointData->EndpointAddress))
{
- BidirectionalDataEndpoints = true;
+ CDCInterfaceInfo->State.BidirectionalDataEndpoints = true;
Pipe_DisablePipe();
}
@@ -127,7 +127,7 @@ uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo
{
if (Pipe_IsEndpointBound(EndpointData->EndpointAddress))
{
- BidirectionalDataEndpoints = true;
+ CDCInterfaceInfo->State.BidirectionalDataEndpoints = true;
}
else
{