summaryrefslogtreecommitdiff
path: root/users/ninjonas/oled.c
diff options
context:
space:
mode:
Diffstat (limited to 'users/ninjonas/oled.c')
-rw-r--r--users/ninjonas/oled.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/ninjonas/oled.c b/users/ninjonas/oled.c
index 55eaf88ccb..73cd50fb8c 100644
--- a/users/ninjonas/oled.c
+++ b/users/ninjonas/oled.c
@@ -23,7 +23,7 @@ bool process_record_oled(uint16_t keycode, keyrecord_t *record) {
void render_layout_state(void) {
oled_write_P(PSTR("Layout: "), false);
- switch (biton32(default_layer_state)) {
+ switch (get_highest_layer(default_layer_state)) {
case _COLEMAK:
oled_write_P(PSTR("Colemak"), false);
break;
@@ -93,7 +93,7 @@ static void render_logo(void) {
bool oled_task_user(void) {
if (timer_elapsed32(oled_timer) > 15000) {
oled_off();
- return;
+ return false;
}
#ifndef SPLIT_KEYBOARD
else { oled_on(); }