diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-20 06:56:43 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-20 06:56:43 +0000 |
commit | 6c38ca28907034aa9a5f294dc26f98d90234dea8 (patch) | |
tree | b79eaa41d1df490b6cf137d514c4ca33b14c9c97 /Demos/Device/ClassDriver/GenericHID | |
parent | 7ef58eef7a57c46ab53ed8a26805b58dcffd7010 (diff) | |
download | lufa-6c38ca28907034aa9a5f294dc26f98d90234dea8.tar.gz lufa-6c38ca28907034aa9a5f294dc26f98d90234dea8.tar.bz2 lufa-6c38ca28907034aa9a5f294dc26f98d90234dea8.zip |
Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN when the given data length is zero.
Diffstat (limited to 'Demos/Device/ClassDriver/GenericHID')
-rw-r--r-- | Demos/Device/ClassDriver/GenericHID/Descriptors.h | 2 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/GenericHID/GenericHID.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Device/ClassDriver/GenericHID/Descriptors.h b/Demos/Device/ClassDriver/GenericHID/Descriptors.h index 88f16e03e..0c7792200 100644 --- a/Demos/Device/ClassDriver/GenericHID/Descriptors.h +++ b/Demos/Device/ClassDriver/GenericHID/Descriptors.h @@ -42,7 +42,7 @@ #include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/USB/Class/HID.h>
- /** Type Defines: */
+ /* Type Defines: */
/** Type define for the device configuration descriptor structure. This must be defined in the
* application code, as the configuration descriptor contains several sub-descriptors which
* vary between devices, and which describe the device's usage to the host.
diff --git a/Demos/Device/ClassDriver/GenericHID/GenericHID.c b/Demos/Device/ClassDriver/GenericHID/GenericHID.c index bd75e4ec1..5e265805f 100644 --- a/Demos/Device/ClassDriver/GenericHID/GenericHID.c +++ b/Demos/Device/ClassDriver/GenericHID/GenericHID.c @@ -42,9 +42,9 @@ uint8_t PrevHIDReportBuffer[GENERIC_REPORT_SIZE]; /** Structure to contain reports from the host, so that they can be echoed back upon request */
struct
{
- uint8_t ReportID;
+ uint8_t ReportID;
uint16_t ReportSize;
- uint8_t ReportData[GENERIC_REPORT_SIZE];
+ uint8_t ReportData[GENERIC_REPORT_SIZE];
} HIDReportEcho;
/** LUFA HID Class driver interface configuration and state information. This structure is
|