summaryrefslogtreecommitdiff
path: root/keyboards/gh60/satan
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gh60/satan')
-rw-r--r--keyboards/gh60/satan/keymaps/addcninblue/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/gh60/satan/keymaps/addcninblue/keymap.c b/keyboards/gh60/satan/keymaps/addcninblue/keymap.c
index 5012fee56b..2b1a417fb5 100644
--- a/keyboards/gh60/satan/keymaps/addcninblue/keymap.c
+++ b/keyboards/gh60/satan/keymaps/addcninblue/keymap.c
@@ -177,7 +177,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);
if (old_layer != layer) {
switch (layer) {