Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.
This commit is contained in:
parent
a04131cf04
commit
ab602a8b48
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue