From ab602a8b48e7ba504447bf3d6ec3fb3a69d40e9a Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 25 Nov 2009 04:23:40 +0000 Subject: Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver. --- LUFA/Drivers/USB/Class/Host/CDC.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LUFA') 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 { -- cgit v1.2.3