aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/Mouse/Descriptors.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-08-11 08:36:25 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-08-11 08:36:25 +0000
commitc71c323865e261fe2764e69fa74ec190a6031f53 (patch)
tree6f71190fd54d08e547634c1d2e8c4cdcd1947c5f /Demos/Device/ClassDriver/Mouse/Descriptors.h
parentc78729d67a363508145c74ef67b193ad17ea01cd (diff)
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@732 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/ClassDriver/Mouse/Descriptors.h')
-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 0c343426..8b8158ba 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