Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keymap] Drashna's Cleanup and RGB Divide #8506

Merged
merged 14 commits into from
Mar 31, 2020
Prev Previous commit
Next Next commit
Cleanup OLED code a bit
  • Loading branch information
drashna committed Mar 31, 2020
commit 980cee2ef39d53e747eaf7d35a06b41f666b6e50
20 changes: 10 additions & 10 deletions keyboards/kyria/keymaps/drashna/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,16 @@ void render_kyria_logo(void) {
};
oled_write_raw_P(kyria_logo, sizeof(kyria_logo));
}
#else
void render_status_secondary(void) {
/* Show Keyboard Layout */
render_logo();
render_default_layer_state();
render_layer_state();
render_mod_status(get_mods() | get_oneshot_mods());

render_keylogger_status();
}
# endif
// clang-format on

Expand All @@ -306,16 +316,6 @@ void render_status_main(void) {
render_keylogger_status();
}

void render_status_secondary(void) {
/* Show Keyboard Layout */
render_logo();
render_default_layer_state();
render_layer_state();
render_mod_status(get_mods() | get_oneshot_mods());

render_keylogger_status();
}

void oled_task_user(void) {
if (timer_elapsed32(oled_timer) > 30000) {
oled_off();
Expand Down