From 63362a9c5e8251ad2d080e21d6b9af45b5adb0c4 Mon Sep 17 00:00:00 2001 From: Takeshi ISHII <2170248+mtei@users.noreply.github.com> Date: Sun, 20 Dec 2020 11:27:54 +0900 Subject: [PATCH] [Keymap] fix keyboards/helix/rev2/keymaps/default/oled_display.c (#11228) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed the OLED display on the right side as it was showing some garbage. 右側のOLEDディスプレイにゴミが表示されていたのを修正しました。 --- keyboards/helix/rev2/keymaps/default/oled_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/helix/rev2/keymaps/default/oled_display.c b/keyboards/helix/rev2/keymaps/default/oled_display.c index 502b62c3c3d..04d6408c6cd 100644 --- a/keyboards/helix/rev2/keymaps/default/oled_display.c +++ b/keyboards/helix/rev2/keymaps/default/oled_display.c @@ -135,6 +135,7 @@ static void render_layer_status(void) { snprintf(buf,sizeof(buf), "%ld", layer_state); oled_write(buf, false); } + oled_write_P(PSTR("\n"), false); } # ifdef SSD1306OLED @@ -160,7 +161,6 @@ void render_status(void) { # else render_layer_status(); # endif - oled_write_P(PSTR("\n"), false); // Host Keyboard LED Status led_t led_state = host_keyboard_led_state();