aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.c')
-rw-r--r--Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.c2
1 files changed, 1 insertions, 1 deletions
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);