projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more include protection macros to give the user warnings when they try to manuall...
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Device
/
HID.c
diff --git
a/LUFA/Drivers/USB/Class/Device/HID.c
b/LUFA/Drivers/USB/Class/Device/HID.c
index
a5c03f7
..
cc1ad43
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Device/HID.c
+++ b/
LUFA/Drivers/USB/Class/Device/HID.c
@@
-28,9
+28,11
@@
this software.
\r
*/
\r
\r
this software.
\r
*/
\r
\r
+#define __INCLUDE_FROM_USB_DRIVER
\r
#include "../../HighLevel/USBMode.h"
\r
#if defined(USB_CAN_BE_DEVICE)
\r
\r
#include "../../HighLevel/USBMode.h"
\r
#if defined(USB_CAN_BE_DEVICE)
\r
\r
+#define __INCLUDE_FROM_HID_DRIVER
\r
#include "HID.h"
\r
\r
void HID_Device_ProcessControlRequest(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo)
\r
#include "HID.h"
\r
\r
void HID_Device_ProcessControlRequest(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo)
\r