Change keyboard level include guards to pragma once
(#14248)
* Change keyboard level include guards to `pragma once` And clean up a lot of layout macros * Oops * Remove dangling endif
This commit is contained in:
parent
971d36bb9e
commit
41c50bb653
308 changed files with 3520 additions and 4568 deletions
|
@ -1,5 +1,4 @@
|
|||
#ifndef PARSER_H
|
||||
#define PARSER_H
|
||||
#pragma once
|
||||
|
||||
#include "hid.h"
|
||||
#include "report.h"
|
||||
|
@ -11,5 +10,3 @@ public:
|
|||
uint16_t time_stamp;
|
||||
virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue