Skip to content

Commit

Permalink
Change keyboard level include guards to pragma once (qmk#14248)
Browse files Browse the repository at this point in the history
* Change keyboard level include guards to `pragma once`

And clean up a lot of layout macros

* Oops

* Remove dangling endif
  • Loading branch information
fauxpark authored Sep 1, 2021
1 parent d7ec7f8 commit a4f9af3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions tmk_core/protocol/usb_hid/parser.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef PARSER_H
#define PARSER_H
#pragma once

#include "hid.h"
#include "report.h"
Expand All @@ -11,5 +10,3 @@ class KBDReportParser : public HIDReportParser
uint16_t time_stamp;
virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf);
};

#endif
6 changes: 1 addition & 5 deletions tmk_core/protocol/usb_hid/usb_hid.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#ifndef USB_HID_H
#define USB_HID_H
#pragma once

#include "report.h"


extern report_keyboard_t usb_hid_keyboard_report;
extern uint16_t usb_hid_time_stamp;

#endif

0 comments on commit a4f9af3

Please sign in to comment.