X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/a04131cf04c88fec4d563064b157751315b5116a..ab602a8b48e7ba504447bf3d6ec3fb3a69d40e9a:/LUFA/Drivers/USB/Class/Host/CDC.c?ds=inline 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 {