summaryrefslogtreecommitdiff
path: root/keyboards/mitosis/keymaps/carvac_dv
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mitosis/keymaps/carvac_dv')
-rw-r--r--keyboards/mitosis/keymaps/carvac_dv/keymap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/mitosis/keymaps/carvac_dv/keymap.c b/keyboards/mitosis/keymaps/carvac_dv/keymap.c
index c67f2e387c..842556324f 100644
--- a/keyboards/mitosis/keymaps/carvac_dv/keymap.c
+++ b/keyboards/mitosis/keymaps/carvac_dv/keymap.c
@@ -105,7 +105,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 _STD:
@@ -121,4 +121,3 @@ void matrix_scan_user(void) {
break;
}
};
-