diff options
Diffstat (limited to 'Demos/Device/ClassDriver/GenericHID/GenericHID.c')
-rw-r--r-- | Demos/Device/ClassDriver/GenericHID/GenericHID.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/GenericHID/GenericHID.c b/Demos/Device/ClassDriver/GenericHID/GenericHID.c index f44d7fc2e..466efaf7f 100644 --- a/Demos/Device/ClassDriver/GenericHID/GenericHID.c +++ b/Demos/Device/ClassDriver/GenericHID/GenericHID.c @@ -151,7 +151,7 @@ bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn Data[2] = ((CurrLEDMask & LEDS_LED3) ? 1 : 0); Data[3] = ((CurrLEDMask & LEDS_LED4) ? 1 : 0); - *ReportSize = sizeof(GENERIC_REPORT_SIZE); + *ReportSize = GENERIC_REPORT_SIZE; return false; } |