diff options
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/protocol/usb_hid/parser.h | 5 | ||||
| -rw-r--r-- | tmk_core/protocol/usb_hid/usb_hid.h | 6 |
2 files changed, 2 insertions, 9 deletions
diff --git a/tmk_core/protocol/usb_hid/parser.h b/tmk_core/protocol/usb_hid/parser.h index 036281fa6..ba35b7af5 100644 --- a/tmk_core/protocol/usb_hid/parser.h +++ b/tmk_core/protocol/usb_hid/parser.h | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #ifndef PARSER_H | 1 | #pragma once |
| 2 | #define PARSER_H | ||
| 3 | 2 | ||
| 4 | #include "hid.h" | 3 | #include "hid.h" |
| 5 | #include "report.h" | 4 | #include "report.h" |
| @@ -11,5 +10,3 @@ public: | |||
| 11 | uint16_t time_stamp; | 10 | uint16_t time_stamp; |
| 12 | virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf); | 11 | virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf); |
| 13 | }; | 12 | }; |
| 14 | |||
| 15 | #endif | ||
diff --git a/tmk_core/protocol/usb_hid/usb_hid.h b/tmk_core/protocol/usb_hid/usb_hid.h index 083b68d1f..5cb5f5d03 100644 --- a/tmk_core/protocol/usb_hid/usb_hid.h +++ b/tmk_core/protocol/usb_hid/usb_hid.h | |||
| @@ -1,10 +1,6 @@ | |||
| 1 | #ifndef USB_HID_H | 1 | #pragma once |
| 2 | #define USB_HID_H | ||
| 3 | 2 | ||
| 4 | #include "report.h" | 3 | #include "report.h" |
| 5 | 4 | ||
| 6 | |||
| 7 | extern report_keyboard_t usb_hid_keyboard_report; | 5 | extern report_keyboard_t usb_hid_keyboard_report; |
| 8 | extern uint16_t usb_hid_time_stamp; | 6 | extern uint16_t usb_hid_time_stamp; |
| 9 | |||
| 10 | #endif | ||
