Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.
authorDean Camera <dean@fourwalledcubicle.com>
Wed, 25 Nov 2009 04:23:40 +0000 (04:23 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Wed, 25 Nov 2009 04:23:40 +0000 (04:23 +0000)
Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
LUFA/Drivers/USB/Class/Host/CDC.c

index f2e4d46..6f8aa51 100644 (file)
@@ -81,7 +81,7 @@ void SImage_SendBlockHeader(void)
 /** Function to receive a PIMA event container from the attached still image device.\r
  *\r
  *  \return A value from the Pipe_Stream_RW_ErrorCodes_t enum\r
- /\r
*/\r
 uint8_t SImage_ReceiveEventHeader(void)\r
 {\r
        uint8_t ErrorCode;\r
index e284492..cf9dc1e 100644 (file)
@@ -112,7 +112,7 @@ uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo
                        {\r
                                if (Pipe_IsEndpointBound(EndpointData->EndpointAddress))\r
                                {\r
-                                       BidirectionalDataEndpoints = true;\r
+                                       CDCInterfaceInfo->State.BidirectionalDataEndpoints = true;\r
                                        Pipe_DisablePipe();\r
                                }\r
 \r
@@ -127,7 +127,7 @@ uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo
                        {\r
                                if (Pipe_IsEndpointBound(EndpointData->EndpointAddress))\r
                                {\r
-                                       BidirectionalDataEndpoints = true;\r
+                                       CDCInterfaceInfo->State.BidirectionalDataEndpoints = true;\r
                                }\r
                                else\r
                                {\r