diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-15 08:58:55 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-15 08:58:55 +0000 |
commit | b61049f7222a6290e2164966bd90f636bcb577f9 (patch) | |
tree | a3f683cbf10b4773d04d1661a03958fafe4b41af | |
parent | c75f8bf2236bc69511d0ff0bc79bfaf1f62e3bfd (diff) | |
download | lufa-b61049f7222a6290e2164966bd90f636bcb577f9.tar.gz lufa-b61049f7222a6290e2164966bd90f636bcb577f9.tar.bz2 lufa-b61049f7222a6290e2164966bd90f636bcb577f9.zip |
Fixed broken HIDReportParser.c.
-rw-r--r-- | Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/HIDParser.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.h b/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.h index b91d6d1a8..71d11a1ee 100644 --- a/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.h +++ b/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.h @@ -40,9 +40,9 @@ #include <LUFA/Version.h>
#include <LUFA/Drivers/Misc/TerminalCodes.h>
- #include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Peripheral/SerialStream.h>
#include <LUFA/Drivers/Board/LEDs.h>
+ #include <LUFA/Drivers/USB/USB.h>
#include "ConfigDescriptor.h"
#include "HIDReport.h"
diff --git a/LUFA/Drivers/USB/Class/Host/HIDParser.c b/LUFA/Drivers/USB/Class/Host/HIDParser.c index 7c4983b6f..18519a018 100644 --- a/LUFA/Drivers/USB/Class/Host/HIDParser.c +++ b/LUFA/Drivers/USB/Class/Host/HIDParser.c @@ -28,8 +28,10 @@ this software.
*/
+#include "../../HighLevel/USBMode.h"
+#if defined(USB_CAN_BE_HOST)
+
#include "HIDParser.h"
-#if defined(CAN_BE_HOST)
uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID_ReportInfo_t* const ParserData)
{
|