X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/43b9d552bb0a32c5cd5f9fa72a8cb3c871ad5ef3..1f1d0710f379a8b08ef646cbadb63d92c35e47fb:/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.c?ds=sidebyside diff --git a/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.c b/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.c index 267a583dc..671fa4833 100644 --- a/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.c +++ b/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.c @@ -198,7 +198,7 @@ void WriteNextReport(uint8_t* ReportOUTData, /* If the report index is used, send it before the report data */ if (ReportIndex) - Pipe_Write_Byte(ReportIndex); + Pipe_Write_8(ReportIndex); /* Write out HID report data */ Pipe_Write_Stream_LE(ReportOUTData, ReportLength, NULL);