Minor documentation and style fixes.
This commit is contained in:
parent
3309c00a99
commit
6c4f736793
5 changed files with 12 additions and 8 deletions
|
@ -172,12 +172,12 @@ static uint8_t MS_Host_SendCommand(USB_ClassInfo_MS_Host_t* const MSInterfaceInf
|
|||
{
|
||||
uint8_t ErrorCode = PIPE_RWSTREAM_NoError;
|
||||
|
||||
SCSICommandBlock->Signature = MS_CBW_SIGNATURE;
|
||||
SCSICommandBlock->Tag = ++MSInterfaceInfo->State.TransactionTag;
|
||||
|
||||
if (MSInterfaceInfo->State.TransactionTag == 0xFFFFFFFF)
|
||||
if (++MSInterfaceInfo->State.TransactionTag == 0xFFFFFFFF)
|
||||
MSInterfaceInfo->State.TransactionTag = 1;
|
||||
|
||||
SCSICommandBlock->Signature = MS_CBW_SIGNATURE;
|
||||
SCSICommandBlock->Tag = MSInterfaceInfo->State.TransactionTag;
|
||||
|
||||
Pipe_SelectPipe(MSInterfaceInfo->Config.DataOUTPipeNumber);
|
||||
Pipe_Unfreeze();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue