Add return codes to the CDC Host Class driver String/Byte transmission functions.

This commit is contained in:
Dean Camera 2009-08-31 13:58:03 +00:00
parent cf2776531c
commit dac7b046fd
6 changed files with 26 additions and 13 deletions

View file

@ -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)