summaryrefslogtreecommitdiff
path: root/keyboards/helix/rev2/keymaps/default/oled_display.c
diff options
context:
space:
mode:
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>2022-03-21 17:05:38 +0900
committerGitHub <noreply@github.com>2022-03-21 01:05:38 -0700
commit7eb6f86bc0aac3ff83abe4365cd11c5c195dc403 (patch)
treef173d7d1ee2004bdcd8b140390403533e19a269f /keyboards/helix/rev2/keymaps/default/oled_display.c
parent669ad3c8052fa36e03c105cb00b60b178aaf20cc (diff)
downloadqmk_firmware-7eb6f86bc0aac3ff83abe4365cd11c5c195dc403.tar.gz
qmk_firmware-7eb6f86bc0aac3ff83abe4365cd11c5c195dc403.zip
[Keyboard] add oled_task_kb() into keyboards/helix/rev2/rev2.c (#16697)
Diffstat (limited to 'keyboards/helix/rev2/keymaps/default/oled_display.c')
-rw-r--r--keyboards/helix/rev2/keymaps/default/oled_display.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/helix/rev2/keymaps/default/oled_display.c b/keyboards/helix/rev2/keymaps/default/oled_display.c
index 4ee3f002d6..824d2e4d86 100644
--- a/keyboards/helix/rev2/keymaps/default/oled_display.c
+++ b/keyboards/helix/rev2/keymaps/default/oled_display.c
@@ -74,9 +74,6 @@ void matrix_update(struct CharacterMatrix *dest,
# ifdef SSD1306OLED
static void render_logo(struct CharacterMatrix *matrix) {
-# else
-static void render_logo(void) {
-# endif
static const char helix_logo[] PROGMEM ={
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94,
@@ -85,6 +82,7 @@ static void render_logo(void) {
0};
oled_write_P(helix_logo, false);
}
+# endif
# ifdef SSD1306OLED
static void render_rgbled_status(bool full, struct CharacterMatrix *matrix) {
@@ -219,7 +217,7 @@ bool oled_task_user(void) {
if (is_keyboard_master()) {
render_status();
} else {
- render_logo();
+ render_helix_logo();
render_rgbled_status(false);
render_layer_status();
}