summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/lib
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-05-29 06:17:24 +1000
committerNick Brassel <nick@tzarc.org>2023-05-29 06:17:24 +1000
commit5024370dd0b441e86ace3089193e84c5b050d892 (patch)
treeb661d5b154be987f9c3dba3a526b70e0b63f9fef /keyboards/crkbd/lib
parent16767e4d59c2334fcd2d5e6556a68d5ff60ffd7b (diff)
parent8b1d86eabf399e82af7738fb675b9c74195d0f98 (diff)
Merge branch 'develop'
Diffstat (limited to 'keyboards/crkbd/lib')
-rw-r--r--keyboards/crkbd/lib/host_led_state_reader.c2
-rw-r--r--keyboards/crkbd/lib/keylogger.c2
-rw-r--r--keyboards/crkbd/lib/layer_state_reader.c4
-rw-r--r--keyboards/crkbd/lib/logo_reader.c2
-rw-r--r--keyboards/crkbd/lib/mode_icon_reader.c2
-rw-r--r--keyboards/crkbd/lib/rgb_state_reader.c2
-rw-r--r--keyboards/crkbd/lib/timelogger.c2
7 files changed, 7 insertions, 9 deletions
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 <stdio.h>
-#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 <stdio.h>
-#include "crkbd.h"
+#include "quantum.h"
char keylog_str[24] = {};
char keylogs_str[21] = {};
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 <stdio.h>
-#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/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 <stdio.h>
-#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 e0efe2e528..a255cd662d 100644
--- a/keyboards/crkbd/lib/rgb_state_reader.c
+++ b/keyboards/crkbd/lib/rgb_state_reader.c
@@ -1,7 +1,7 @@
#ifdef RGBLIGHT_ENABLE
-#include QMK_KEYBOARD_H
#include <stdio.h>
+#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 <stdio.h>
-#include "crkbd.h"
+#include "quantum.h"
char timelog_str[24] = {};
int last_time = 0;