projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed possible invalid program execution when in host mode if corrupt descriptor...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Device
/
HID.h
diff --git
a/LUFA/Drivers/USB/Class/Device/HID.h
b/LUFA/Drivers/USB/Class/Device/HID.h
index
658acb4
..
133e4f5
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Device/HID.h
+++ b/
LUFA/Drivers/USB/Class/Device/HID.h
@@
-38,7
+38,7
@@
*/
/** \ingroup Group_USBClassHID
*/
/** \ingroup Group_USBClassHID
- *
@
defgroup Group_USBClassHIDDevice HID Class Device Mode Driver
+ *
\
defgroup Group_USBClassHIDDevice HID Class Device Mode Driver
*
* \section Sec_Dependencies Module Source Dependencies
* The following files must be built with any user project that uses this module:
*
* \section Sec_Dependencies Module Source Dependencies
* The following files must be built with any user project that uses this module:
@@
-57,8
+57,6
@@
#include "../../USB.h"
#include "../Common/HID.h"
#include "../../USB.h"
#include "../Common/HID.h"
- #include <string.h>
-
/* Enable C linkage for C++ Compilers: */
#if defined(__cplusplus)
extern "C" {
/* Enable C linkage for C++ Compilers: */
#if defined(__cplusplus)
extern "C" {
@@
-69,11
+67,6
@@
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
#endif
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
#endif
- #if defined(__INCLUDE_FROM_HID_DEVICE_C) && defined(NO_STREAM_CALLBACKS)
- #error The NO_STREAM_CALLBACKS compile time option cannot be used in projects using the library Class drivers.
- #endif
-
-
/* Public Interface - May be used in end-application: */
/* Type Defines: */
/** \brief HID Class Device Mode Configuration and State Structure.
/* Public Interface - May be used in end-application: */
/* Type Defines: */
/** \brief HID Class Device Mode Configuration and State Structure.