Add to the existing CDC Class Driver's CreateStream() function documentation to explicitly state that the created streams are bidirectional.

This commit is contained in:
Dean Camera 2009-11-29 05:19:41 +00:00
parent 958d28d05d
commit 414b92e812
4 changed files with 7 additions and 9 deletions

View file

@ -690,11 +690,7 @@ static void ProcessReadCommand(void)
uint8_t DataIndexToRead = SentCommand.Data[1];
if (IS_ONEBYTE_COMMAND(SentCommand.Data, 0x00)) // Read bootloader info
{
ResponseByte = BootloaderInfo[DataIndexToRead];
}
ResponseByte = BootloaderInfo[DataIndexToRead];
else if (IS_ONEBYTE_COMMAND(SentCommand.Data, 0x01)) // Read signature byte
{
ResponseByte = SignatureInfo[DataIndexToRead - 0x30];
}
ResponseByte = SignatureInfo[DataIndexToRead - 0x30];
}