corrected weak hid sending function

This commit is contained in:
Nico 2015-02-11 19:19:57 +01:00
parent ab25e80b0d
commit 2f3e24f3b4

View file

@ -112,7 +112,7 @@ int WEAK HID_GetDescriptor(int /* i */)
return USB_SendControl(TRANSFER_PGM, _hidReportDescriptor, sizeof(_hidReportDescriptor));
}
void WEAK HID_SendReport(u8 id, const void* data, int len)
void WEAK HID_SendReport(uint8_t id, const void* data, int len)
{
USB_Send(HID_TX, &id, 1);
USB_Send(HID_TX | TRANSFER_RELEASE, data, len);