Add return codes to the CDC Host Class driver String/Byte transmission functions.
This commit is contained in:
parent
cf2776531c
commit
dac7b046fd
6 changed files with 26 additions and 13 deletions
|
@ -51,9 +51,10 @@ uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID
|
|||
|
||||
while (ReportSize)
|
||||
{
|
||||
uint8_t HIDReportItem = *(ReportData++);
|
||||
uint8_t HIDReportItem = *ReportData;
|
||||
uint32_t ReportItemData = 0;
|
||||
|
||||
ReportData++;
|
||||
ReportSize--;
|
||||
|
||||
switch (HIDReportItem & DATA_SIZE_MASK)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue