From 3c144fac5e2b634166f6b9cc0fc45029d63d3398 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 20 Mar 2023 08:12:05 +1100 Subject: Clean up usage of `QMK_KEYBOARD_H` (#20167) --- keyboards/crkbd/lib/layer_state_reader.c | 4 +--- keyboards/crkbd/lib/rgb_state_reader.c | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'keyboards/crkbd/lib') diff --git a/keyboards/crkbd/lib/layer_state_reader.c b/keyboards/crkbd/lib/layer_state_reader.c index 601fd71958..7dd1702485 100644 --- a/keyboards/crkbd/lib/layer_state_reader.c +++ b/keyboards/crkbd/lib/layer_state_reader.c @@ -1,7 +1,5 @@ - -#include QMK_KEYBOARD_H +#include "quantum.h" #include -#include "crkbd.h" // in the future, should use (1U<<_LAYER_NAME) instead, but needs to be moved to keymap,c #define L_BASE 0 diff --git a/keyboards/crkbd/lib/rgb_state_reader.c b/keyboards/crkbd/lib/rgb_state_reader.c index e0efe2e528..3d74fb45e4 100644 --- a/keyboards/crkbd/lib/rgb_state_reader.c +++ b/keyboards/crkbd/lib/rgb_state_reader.c @@ -1,6 +1,5 @@ #ifdef RGBLIGHT_ENABLE -#include QMK_KEYBOARD_H #include extern rgblight_config_t rgblight_config; -- cgit v1.2.3 From b93f05dc35e911a5c5f758722545d96c66be88c6 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sat, 20 May 2023 05:13:39 -0700 Subject: [Keyboard] Fixup Crkbd default keymap (#20962) --- keyboards/crkbd/lib/host_led_state_reader.c | 2 +- keyboards/crkbd/lib/keylogger.c | 2 +- keyboards/crkbd/lib/logo_reader.c | 2 +- keyboards/crkbd/lib/mode_icon_reader.c | 2 +- keyboards/crkbd/lib/rgb_state_reader.c | 1 + keyboards/crkbd/lib/timelogger.c | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) (limited to 'keyboards/crkbd/lib') diff --git a/keyboards/crkbd/lib/host_led_state_reader.c b/keyboards/crkbd/lib/host_led_state_reader.c index 41ac55dc2b..a0684e4a27 100644 --- a/keyboards/crkbd/lib/host_led_state_reader.c +++ b/keyboards/crkbd/lib/host_led_state_reader.c @@ -1,5 +1,5 @@ #include -#include "crkbd.h" +#include "quantum.h" char host_led_state_str[24]; diff --git a/keyboards/crkbd/lib/keylogger.c b/keyboards/crkbd/lib/keylogger.c index 8f2a8ce3cc..9adb55d6ee 100644 --- a/keyboards/crkbd/lib/keylogger.c +++ b/keyboards/crkbd/lib/keylogger.c @@ -1,5 +1,5 @@ #include -#include "crkbd.h" +#include "quantum.h" char keylog_str[24] = {}; char keylogs_str[21] = {}; diff --git a/keyboards/crkbd/lib/logo_reader.c b/keyboards/crkbd/lib/logo_reader.c index 1bc1503a60..4a710bb250 100644 --- a/keyboards/crkbd/lib/logo_reader.c +++ b/keyboards/crkbd/lib/logo_reader.c @@ -1,4 +1,4 @@ -#include "crkbd.h" +#include "quantum.h" const char *read_logo(void) { static char logo[] = { diff --git a/keyboards/crkbd/lib/mode_icon_reader.c b/keyboards/crkbd/lib/mode_icon_reader.c index 04c226506a..02a63ec1c6 100644 --- a/keyboards/crkbd/lib/mode_icon_reader.c +++ b/keyboards/crkbd/lib/mode_icon_reader.c @@ -1,5 +1,5 @@ #include -#include "crkbd.h" +#include "quantum.h" char mode_icon[24]; diff --git a/keyboards/crkbd/lib/rgb_state_reader.c b/keyboards/crkbd/lib/rgb_state_reader.c index 3d74fb45e4..a255cd662d 100644 --- a/keyboards/crkbd/lib/rgb_state_reader.c +++ b/keyboards/crkbd/lib/rgb_state_reader.c @@ -1,6 +1,7 @@ #ifdef RGBLIGHT_ENABLE #include +#include "quantum.h" extern rgblight_config_t rgblight_config; char rbf_info_str[24]; diff --git a/keyboards/crkbd/lib/timelogger.c b/keyboards/crkbd/lib/timelogger.c index 69828a3a08..bce9d99a4b 100644 --- a/keyboards/crkbd/lib/timelogger.c +++ b/keyboards/crkbd/lib/timelogger.c @@ -1,5 +1,5 @@ #include -#include "crkbd.h" +#include "quantum.h" char timelog_str[24] = {}; int last_time = 0; -- cgit v1.2.3