- /* Configure the data OUT pipe */\r
- Pipe_ConfigurePipe(CDC_DATAPIPE_OUT, EP_TYPE_BULK, PIPE_TOKEN_OUT,\r
- EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);\r
+ /* Only configure the OUT data pipe if the data endpoints haev not shown to be bidirectional */\r
+ if (!(Pipe_IsEndpointBound(EndpointData->EndpointAddress)))\r
+ {\r
+ /* Configure the data OUT pipe */\r
+ Pipe_ConfigurePipe(CDC_DATAPIPE_OUT, EP_TYPE_BULK, PIPE_TOKEN_OUT,\r
+ EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);\r
+ }\r