diff options
author | QMK Bot <hello@qmk.fm> | 2020-12-26 04:56:43 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2020-12-26 04:56:43 +0000 |
commit | 0b37c0dfa0690c60ddf0798d8d771b74f47ebca1 (patch) | |
tree | 3fa910e5907b75137d047363eee6680cc89228ee /tmk_core/protocol/next_kbd.h | |
parent | ffd7e44e5af660fbd131f67ef803ac3aad2123d6 (diff) | |
parent | 1d1d5da43f86d9dded47c66afec94991d623f114 (diff) |
Merge remote-tracking branch 'origin/master' into develop
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 |