aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/Mouse
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-08-11 08:36:25 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-08-11 08:36:25 +0000
commita2001ac1ccf4d4919c8243fbc69aff0b68973d3f (patch)
tree6f71190fd54d08e547634c1d2e8c4cdcd1947c5f /Demos/Device/ClassDriver/Mouse
parentf4814771d2544cc53098fc8c13657eb41e9e9401 (diff)
downloadlufa-a2001ac1ccf4d4919c8243fbc69aff0b68973d3f.tar.gz
lufa-a2001ac1ccf4d4919c8243fbc69aff0b68973d3f.tar.bz2
lufa-a2001ac1ccf4d4919c8243fbc69aff0b68973d3f.zip
Fixed swapped paremeters in the HID state memory copy call while processing a HID PUSH item in the HID report parser.
Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
Diffstat (limited to 'Demos/Device/ClassDriver/Mouse')
-rw-r--r--Demos/Device/ClassDriver/Mouse/Descriptors.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/Mouse/Descriptors.h b/Demos/Device/ClassDriver/Mouse/Descriptors.h
index 0c3434260..8b8158ba8 100644
--- a/Demos/Device/ClassDriver/Mouse/Descriptors.h
+++ b/Demos/Device/ClassDriver/Mouse/Descriptors.h
@@ -37,11 +37,11 @@
#define _DESCRIPTORS_H_
/* Includes: */
- #include <avr/pgmspace.h>
-
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/USB/Class/HID.h>
+ #include <avr/pgmspace.h>
+
/* 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