summaryrefslogtreecommitdiff
path: root/keyboards/splitkb/kyria/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/splitkb/kyria/rev1')
-rw-r--r--keyboards/splitkb/kyria/rev1/rev1.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/splitkb/kyria/rev1/rev1.c b/keyboards/splitkb/kyria/rev1/rev1.c
index ac82f7373d..b2641fb40e 100644
--- a/keyboards/splitkb/kyria/rev1/rev1.c
+++ b/keyboards/splitkb/kyria/rev1/rev1.c
@@ -56,9 +56,14 @@ led_config_t g_led_config = { {
#endif
#ifdef OLED_ENABLE
-__attribute__((weak)) oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; }
+oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
+ return OLED_ROTATION_180;
+}
-__attribute__((weak)) void oled_task_user(void) {
+bool oled_task_kb(void) {
+ if (!oled_task_user()) {
+ return false;
+ }
if (is_keyboard_master()) {
// QMK Logo and version information
// clang-format off
@@ -119,6 +124,7 @@ __attribute__((weak)) void oled_task_user(void) {
// clang-format on
oled_write_raw_P(kyria_logo, sizeof(kyria_logo));
}
+ return false;
}
#endif