summaryrefslogtreecommitdiff
path: root/protocol/lufa/lufa.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-09-04 14:24:52 +0900
committertmk <nobody@nowhere>2012-09-04 14:24:52 +0900
commitdc79a8521946a3a2e5b86945b8043b87a8b8d78c (patch)
tree737827112555c00a7f2ebbb88e61079c460be71a /protocol/lufa/lufa.h
parent7350b7c6aa300a234244c264b10d1732803c27df (diff)
parent232ab308e358e41f3253d66fa009c1ebca0951a2 (diff)
Merge branch 'usb_hid'
Diffstat (limited to 'protocol/lufa/lufa.h')
-rw-r--r--protocol/lufa/lufa.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/protocol/lufa/lufa.h b/protocol/lufa/lufa.h
index 71c279b0dc..bcee060d67 100644
--- a/protocol/lufa/lufa.h
+++ b/protocol/lufa/lufa.h
@@ -47,8 +47,19 @@
#include <string.h>
#include <LUFA/Version.h>
#include <LUFA/Drivers/USB/USB.h>
+#include "host.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern host_driver_t lufa_driver;
+
+#ifdef __cplusplus
+}
+#endif
+
/* extra report structure */
typedef struct {
uint8_t report_id;