summaryrefslogtreecommitdiff
path: root/protocol/usb_hid/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/usb_hid/parser.h')
-rw-r--r--protocol/usb_hid/parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocol/usb_hid/parser.h b/protocol/usb_hid/parser.h
index dc14c82705..703eb1ed4c 100644
--- a/protocol/usb_hid/parser.h
+++ b/protocol/usb_hid/parser.h
@@ -1,3 +1,6 @@
+#ifndef PARSER_H
+#define PARSER_H
+
#include "hid.h"
class KBDReportParser : public HIDReportParser
@@ -5,3 +8,5 @@ class KBDReportParser : public HIDReportParser
public:
virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf);
};
+
+#endif