summaryrefslogtreecommitdiff
path: root/keyboards/glenpickle/chimera_ergo/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/glenpickle/chimera_ergo/keymaps/default/keymap.c')
-rw-r--r--keyboards/glenpickle/chimera_ergo/keymaps/default/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/glenpickle/chimera_ergo/keymaps/default/keymap.c b/keyboards/glenpickle/chimera_ergo/keymaps/default/keymap.c
index 51ab0e92cd..dd7e32f7dc 100644
--- a/keyboards/glenpickle/chimera_ergo/keymaps/default/keymap.c
+++ b/keyboards/glenpickle/chimera_ergo/keymaps/default/keymap.c
@@ -131,7 +131,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
};
void matrix_scan_user(void) {
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
switch (layer) {
case _QWERTY: