summaryrefslogtreecommitdiffstats
path: root/keyboards/marksard/treadstone48
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-20 08:12:05 +1100
committerGitHub <noreply@github.com>2023-03-20 08:12:05 +1100
commit3c144fac5e2b634166f6b9cc0fc45029d63d3398 (patch)
treec3e408ca9fa27721c19f4fc0ba8b4119798e5dd2 /keyboards/marksard/treadstone48
parent9d302f9b7fa7fc88766de322a52d1a1be38e723c (diff)
Clean up usage of `QMK_KEYBOARD_H` (#20167)
Diffstat (limited to 'keyboards/marksard/treadstone48')
-rw-r--r--keyboards/marksard/treadstone48/common/oled_helper.c6
-rw-r--r--keyboards/marksard/treadstone48/common/oled_helper.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/keyboards/marksard/treadstone48/common/oled_helper.c b/keyboards/marksard/treadstone48/common/oled_helper.c
index 68adbe83a8..c3c8f23cbc 100644
--- a/keyboards/marksard/treadstone48/common/oled_helper.c
+++ b/keyboards/marksard/treadstone48/common/oled_helper.c
@@ -1,8 +1,10 @@
-#ifdef OLED_ENABLE
-#include QMK_KEYBOARD_H
+#include "oled_helper.h"
+#include "quantum.h"
#include <stdio.h>
#include <string.h>
+#ifdef OLED_ENABLE
+
void render_logo(void) {
const char logo_buf[]={
diff --git a/keyboards/marksard/treadstone48/common/oled_helper.h b/keyboards/marksard/treadstone48/common/oled_helper.h
index 56c2a5b236..82c1feba4a 100644
--- a/keyboards/marksard/treadstone48/common/oled_helper.h
+++ b/keyboards/marksard/treadstone48/common/oled_helper.h
@@ -1,5 +1,8 @@
#ifdef OLED_ENABLE
+#include <stdint.h>
+#include "action.h"
+
void render_logo(void);
void update_key_status(uint16_t keycode, keyrecord_t *record);
void render_key_status(void);