summaryrefslogtreecommitdiff
path: root/keyboards/mitosis/keymaps/nzen/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mitosis/keymaps/nzen/keymap.c')
-rw-r--r--keyboards/mitosis/keymaps/nzen/keymap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/keyboards/mitosis/keymaps/nzen/keymap.c b/keyboards/mitosis/keymaps/nzen/keymap.c
index d9fd3641bc..c981441bc9 100644
--- a/keyboards/mitosis/keymaps/nzen/keymap.c
+++ b/keyboards/mitosis/keymaps/nzen/keymap.c
@@ -175,7 +175,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
void matrix_scan_user(void) {
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
switch (layer) {
case _QWERTY:
@@ -205,5 +205,3 @@ void matrix_scan_user(void) {
void matrix_init_user(void) {
set_unicode_input_mode(UC_LNX); // or UC_WINC
};
-
-