1
0
Fork 0

[Keymap] fix keyboards/helix/rev2/keymaps/default/oled_display.c (#11228)

Fixed the OLED display on the right side as it was showing some garbage.
右側のOLEDディスプレイにゴミが表示されていたのを修正しました。
This commit is contained in:
Takeshi ISHII 2020-12-20 11:27:54 +09:00 committed by GitHub
parent 25b1367806
commit 63362a9c5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,6 +135,7 @@ static void render_layer_status(void) {
snprintf(buf,sizeof(buf), "%ld", layer_state); snprintf(buf,sizeof(buf), "%ld", layer_state);
oled_write(buf, false); oled_write(buf, false);
} }
oled_write_P(PSTR("\n"), false);
} }
# ifdef SSD1306OLED # ifdef SSD1306OLED
@ -160,7 +161,6 @@ void render_status(void) {
# else # else
render_layer_status(); render_layer_status();
# endif # endif
oled_write_P(PSTR("\n"), false);
// Host Keyboard LED Status // Host Keyboard LED Status
led_t led_state = host_keyboard_led_state(); led_t led_state = host_keyboard_led_state();