diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-11 09:12:29 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-11 09:12:29 +0000 |
commit | c86491af8b24679984a3fc5effc7675779652e4c (patch) | |
tree | 7709d0549ff5bc2354403c4da82574d8461f3e79 /Demos/Host/ClassDriver/MouseHost | |
parent | a2001ac1ccf4d4919c8243fbc69aff0b68973d3f (diff) | |
download | lufa-c86491af8b24679984a3fc5effc7675779652e4c.tar.gz lufa-c86491af8b24679984a3fc5effc7675779652e4c.tar.bz2 lufa-c86491af8b24679984a3fc5effc7675779652e4c.zip |
Add new functions to the HID host class driver, refine HID interface protocol matching.
Remove stray state variable from the CDC host class driver.
Diffstat (limited to 'Demos/Host/ClassDriver/MouseHost')
-rw-r--r-- | Demos/Host/ClassDriver/MouseHost/MouseHost.c | 1 | ||||
-rw-r--r-- | Demos/Host/ClassDriver/MouseHost/MouseHost.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Demos/Host/ClassDriver/MouseHost/MouseHost.c b/Demos/Host/ClassDriver/MouseHost/MouseHost.c index cf2997bcd..9f76bc754 100644 --- a/Demos/Host/ClassDriver/MouseHost/MouseHost.c +++ b/Demos/Host/ClassDriver/MouseHost/MouseHost.c @@ -47,7 +47,6 @@ USB_ClassInfo_HID_Host_t Mouse_HID_Interface = .DataINPipeNumber = 1,
.DataOUTPipeNumber = 2,
- .MatchInterfaceProtocol = true,
.HIDInterfaceProtocol = 0x02,
},
};
diff --git a/Demos/Host/ClassDriver/MouseHost/MouseHost.h b/Demos/Host/ClassDriver/MouseHost/MouseHost.h index 9f92be086..c6b2974bd 100644 --- a/Demos/Host/ClassDriver/MouseHost/MouseHost.h +++ b/Demos/Host/ClassDriver/MouseHost/MouseHost.h @@ -48,7 +48,7 @@ #include <LUFA/Drivers/Peripheral/SerialStream.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/USB/USB.h>
- #include <LUFA/Drivers/USB/Class/Host/HID.h>
+ #include <LUFA/Drivers/USB/Class/HID.h>
/* Macros: */
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
|