Fix incorrect const'ness of the ReportItem parameter in USB_SetHIDReportItemInfo().
This commit is contained in:
parent
2919aeeaab
commit
d6e3259f8b
2 changed files with 2 additions and 2 deletions
|
@ -312,7 +312,7 @@ bool USB_GetHIDReportItemInfo(const uint8_t* ReportData, HID_ReportItem_t* const
|
|||
return true;
|
||||
}
|
||||
|
||||
void USB_SetHIDReportItemInfo(uint8_t* ReportData, const HID_ReportItem_t* ReportItem)
|
||||
void USB_SetHIDReportItemInfo(uint8_t* ReportData, HID_ReportItem_t* const ReportItem)
|
||||
{
|
||||
uint16_t DataBitsRem = ReportItem->Attributes.BitSize;
|
||||
uint16_t CurrentBit = ReportItem->BitOffset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue