forked from mfulz_github/qmk_firmware
Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.
This commit is contained in:
parent
a04131cf04
commit
ab602a8b48
|
@ -81,7 +81,7 @@ void SImage_SendBlockHeader(void)
|
||||||
/** Function to receive a PIMA event container from the attached still image device.
|
/** Function to receive a PIMA event container from the attached still image device.
|
||||||
*
|
*
|
||||||
* \return A value from the Pipe_Stream_RW_ErrorCodes_t enum
|
* \return A value from the Pipe_Stream_RW_ErrorCodes_t enum
|
||||||
/
|
*/
|
||||||
uint8_t SImage_ReceiveEventHeader(void)
|
uint8_t SImage_ReceiveEventHeader(void)
|
||||||
{
|
{
|
||||||
uint8_t ErrorCode;
|
uint8_t ErrorCode;
|
||||||
|
|
|
@ -112,7 +112,7 @@ uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo
|
||||||
{
|
{
|
||||||
if (Pipe_IsEndpointBound(EndpointData->EndpointAddress))
|
if (Pipe_IsEndpointBound(EndpointData->EndpointAddress))
|
||||||
{
|
{
|
||||||
BidirectionalDataEndpoints = true;
|
CDCInterfaceInfo->State.BidirectionalDataEndpoints = true;
|
||||||
Pipe_DisablePipe();
|
Pipe_DisablePipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo
|
||||||
{
|
{
|
||||||
if (Pipe_IsEndpointBound(EndpointData->EndpointAddress))
|
if (Pipe_IsEndpointBound(EndpointData->EndpointAddress))
|
||||||
{
|
{
|
||||||
BidirectionalDataEndpoints = true;
|
CDCInterfaceInfo->State.BidirectionalDataEndpoints = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue