summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd75/keymaps/arpinfidel
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xiudi/xd75/keymaps/arpinfidel')
-rw-r--r--keyboards/xiudi/xd75/keymaps/arpinfidel/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/xiudi/xd75/keymaps/arpinfidel/keymap.c b/keyboards/xiudi/xd75/keymaps/arpinfidel/keymap.c
index 5f7337d68b..c278df1b21 100644
--- a/keyboards/xiudi/xd75/keymaps/arpinfidel/keymap.c
+++ b/keyboards/xiudi/xd75/keymaps/arpinfidel/keymap.c
@@ -100,7 +100,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
// Runs whenever there is a layer state change.
layer_state_t layer_state_set_user(layer_state_t state) {
- uint8_t layer = biton32(state);
+ uint8_t layer = get_highest_layer(state);
gp100_led_off();
gp103_led_off();