diff options
author | Joel Challis <git@zvecr.com> | 2019-11-09 02:23:26 +0000 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-11-08 18:23:26 -0800 |
commit | c1970e284d9718a62a973442ec9f0801365cff60 (patch) | |
tree | decd82321b3137faf26d2a11de2dfcd9940b8a32 /tmk_core/common/action_layer.c | |
parent | 20753706337630c6be4757e322b7da90f5f030cf (diff) | |
download | qmk_firmware-c1970e284d9718a62a973442ec9f0801365cff60.tar.gz |
Fix LAYER_STATE_8BIT compile issues (#7304)
Diffstat (limited to 'tmk_core/common/action_layer.c')
-rw-r--r-- | tmk_core/common/action_layer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action_layer.c b/tmk_core/common/action_layer.c index 07d78c56d..4c7d15cd5 100644 --- a/tmk_core/common/action_layer.c +++ b/tmk_core/common/action_layer.c @@ -268,7 +268,7 @@ uint8_t layer_switch_get_layer(keypos_t key) { /* fall back to layer 0 */ return 0; #else - return biton32(default_layer_state); + return get_highest_layer(default_layer_state); #endif } |