diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-05-22 22:33:35 +0200 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-05-22 22:33:35 +0200 |
commit | b5285c14113b0339a164c936a45054613ddae328 (patch) | |
tree | e831e7b0646980ba15fa5fb010e653f2130e54b5 /Demos/Device/ClassDriver | |
parent | 969120070c4940a8c317f4fe6c74b405fd495f08 (diff) | |
download | lufa-b5285c14113b0339a164c936a45054613ddae328.tar.gz lufa-b5285c14113b0339a164c936a45054613ddae328.tar.bz2 lufa-b5285c14113b0339a164c936a45054613ddae328.zip |
Minor documentation improvements.
Diffstat (limited to 'Demos/Device/ClassDriver')
-rw-r--r-- | Demos/Device/ClassDriver/GenericHID/GenericHID.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/GenericHID/GenericHID.c b/Demos/Device/ClassDriver/GenericHID/GenericHID.c index aae3ea75a..182aa5a58 100644 --- a/Demos/Device/ClassDriver/GenericHID/GenericHID.c +++ b/Demos/Device/ClassDriver/GenericHID/GenericHID.c @@ -156,7 +156,7 @@ bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn void* ReportData, uint16_t* const ReportSize) { - uint8_t* Data = (uint8_t*)ReportData; + uint8_t* Data = (uint8_t*)ReportData; uint8_t CurrLEDMask = LEDs_GetLEDs(); Data[0] = ((CurrLEDMask & LEDS_LED1) ? 1 : 0); @@ -182,7 +182,7 @@ void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDI const void* ReportData, const uint16_t ReportSize) { - uint8_t* Data = (uint8_t*)ReportData; + uint8_t* Data = (uint8_t*)ReportData; uint8_t NewLEDMask = LEDS_NO_LEDS; if (Data[0]) |