diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-26 15:56:11 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-26 15:56:11 +1100 |
commit | 1d1d5da43f86d9dded47c66afec94991d623f114 (patch) | |
tree | 5f0d4d303a1f5dd67a3d9a19b0f99b8e3f06a4e6 /tmk_core/protocol/next_kbd.h | |
parent | 48f4768d33313e6a6ed48c31f95eb44feda10a51 (diff) | |
download | qmk_firmware-1d1d5da43f86d9dded47c66afec94991d623f114.tar.gz qmk_firmware-1d1d5da43f86d9dded47c66afec94991d623f114.zip |
Change include guards in tmk_core/ and drivers/ to pragma once (#11240)
Diffstat (limited to 'tmk_core/protocol/next_kbd.h')
-rw-r--r-- | tmk_core/protocol/next_kbd.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tmk_core/protocol/next_kbd.h b/tmk_core/protocol/next_kbd.h index bff7a474d3..1249ebf392 100644 --- a/tmk_core/protocol/next_kbd.h +++ b/tmk_core/protocol/next_kbd.h @@ -45,13 +45,12 @@ POSSIBILITY OF SUCH DAMAGE. */ -#include <stdbool.h> +#pragma once -#ifndef NEXT_KBD_H -# define NEXT_KBD_H +#include <stdbool.h> -# define NEXT_KBD_KMBUS_IDLE 0x300600 -# define NEXT_KBD_TIMING 50 +#define NEXT_KBD_KMBUS_IDLE 0x300600 +#define NEXT_KBD_TIMING 50 extern uint8_t next_kbd_error; @@ -59,5 +58,3 @@ extern uint8_t next_kbd_error; void next_kbd_init(void); void next_kbd_set_leds(bool left, bool right); uint32_t next_kbd_recv(void); - -#endif |