diff options
Diffstat (limited to 'keyboards/handwired/split65/split65.c')
-rw-r--r-- | keyboards/handwired/split65/split65.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/keyboards/handwired/split65/split65.c b/keyboards/handwired/split65/split65.c index 3b1dcadda..9d0831c02 100644 --- a/keyboards/handwired/split65/split65.c +++ b/keyboards/handwired/split65/split65.c | |||
@@ -18,11 +18,14 @@ | |||
18 | // OLED Code inspired by https://github.com/qmk/qmk_firmware/blob/master/keyboards/splitkb/kyria/rev1/rev1.c | 18 | // OLED Code inspired by https://github.com/qmk/qmk_firmware/blob/master/keyboards/splitkb/kyria/rev1/rev1.c |
19 | 19 | ||
20 | #ifdef OLED_ENABLE | 20 | #ifdef OLED_ENABLE |
21 | __attribute__((weak)) oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 21 | oled_rotation_t oled_init_kb(oled_rotation_t rotation) { |
22 | return OLED_ROTATION_180; | 22 | return OLED_ROTATION_180; |
23 | } | 23 | } |
24 | 24 | ||
25 | __attribute__((weak)) void oled_task_user(void) { | 25 | bool oled_task_kb(void) { |
26 | if (!oled_task_user()) { | ||
27 | return false; | ||
28 | } | ||
26 | if (is_keyboard_master()) { | 29 | if (is_keyboard_master()) { |
27 | static const char PROGMEM qmk_logo[] = { | 30 | static const char PROGMEM qmk_logo[] = { |
28 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94, | 31 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94, |
@@ -126,5 +129,6 @@ __attribute__((weak)) void oled_task_user(void) { | |||
126 | }; | 129 | }; |
127 | oled_write_raw_P(split65_logo, sizeof(split65_logo)); | 130 | oled_write_raw_P(split65_logo, sizeof(split65_logo)); |
128 | } | 131 | } |
132 | return false; | ||
129 | } | 133 | } |
130 | #endif | 134 | #endif |