projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed PDI programming mode in the AVRISP programmer project not exiting programming...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Common
/
HID.h
diff --git
a/LUFA/Drivers/USB/Class/Common/HID.h
b/LUFA/Drivers/USB/Class/Common/HID.h
index
5afaf48
..
33a5af4
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Common/HID.h
+++ b/
LUFA/Drivers/USB/Class/Common/HID.h
@@
-46,6
+46,11
@@
\r
#include <string.h>
\r
\r
\r
#include <string.h>
\r
\r
+ /* Preprocessor Checks: */
\r
+ #if !defined(__INCLUDE_FROM_HID_DRIVER)
\r
+ #error Do not include this file directly. Include LUFA/Drivers/Class/HID.h instead.
\r
+ #endif
\r
+
\r
/* Macros: */
\r
/** HID Class Specific Request to get the current HID report from the device. */
\r
#define REQ_GetReport 0x01
\r
/* Macros: */
\r
/** HID Class Specific Request to get the current HID report from the device. */
\r
#define REQ_GetReport 0x01
\r