summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd/keymaps/edvorakjp/oled.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/crkbd/keymaps/edvorakjp/oled.c')
-rw-r--r--keyboards/crkbd/keymaps/edvorakjp/oled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/crkbd/keymaps/edvorakjp/oled.c b/keyboards/crkbd/keymaps/edvorakjp/oled.c
index e5ff029565..cd75f8e277 100644
--- a/keyboards/crkbd/keymaps/edvorakjp/oled.c
+++ b/keyboards/crkbd/keymaps/edvorakjp/oled.c
@@ -9,7 +9,7 @@ void render_layer_state(void) {
char layer_name[17];
oled_write_P(PSTR("Layer: "), false);
- switch (biton32(layer_state)) {
+ switch (get_highest_layer(layer_state)) {
case L_EDVORAKJP_BASE:
oled_write_ln_P(PSTR("Default"), false);
break;