diff options
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 bff7a474d..1249ebf39 100644 --- a/tmk_core/protocol/next_kbd.h +++ b/tmk_core/protocol/next_kbd.h | |||
| @@ -45,13 +45,12 @@ POSSIBILITY OF SUCH DAMAGE. | |||
| 45 | 45 | ||
| 46 | */ | 46 | */ |
| 47 | 47 | ||
| 48 | #include <stdbool.h> | 48 | #pragma once |
| 49 | 49 | ||
| 50 | #ifndef NEXT_KBD_H | 50 | #include <stdbool.h> |
| 51 | # define NEXT_KBD_H | ||
| 52 | 51 | ||
| 53 | # define NEXT_KBD_KMBUS_IDLE 0x300600 | 52 | #define NEXT_KBD_KMBUS_IDLE 0x300600 |
| 54 | # define NEXT_KBD_TIMING 50 | 53 | #define NEXT_KBD_TIMING 50 |
| 55 | 54 | ||
| 56 | extern uint8_t next_kbd_error; | 55 | extern uint8_t next_kbd_error; |
| 57 | 56 | ||
| @@ -59,5 +58,3 @@ extern uint8_t next_kbd_error; | |||
| 59 | void next_kbd_init(void); | 58 | void next_kbd_init(void); |
| 60 | void next_kbd_set_leds(bool left, bool right); | 59 | void next_kbd_set_leds(bool left, bool right); |
| 61 | uint32_t next_kbd_recv(void); | 60 | uint32_t next_kbd_recv(void); |
| 62 | |||
| 63 | #endif | ||
