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:
@@ -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];
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
* can protect the AVR's firmware from being dumped from a secured AVR. When false, memory operations are
|
||||
* allowed at any time.
|
||||
*/
|
||||
#define SECURE_MODE false
|
||||
#define SECURE_MODE false
|
||||
|
||||
/** Major bootloader version number. */
|
||||
#define BOOTLOADER_VERSION_MINOR 2
|
||||
|
||||
Reference in New Issue
Block a user