summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/prime_exl/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/prime_exl/keymaps')
-rw-r--r--keyboards/handwired/prime_exl/keymaps/via/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/handwired/prime_exl/keymaps/via/keymap.c b/keyboards/handwired/prime_exl/keymaps/via/keymap.c
index 0e6802996d..b5b616d55b 100644
--- a/keyboards/handwired/prime_exl/keymaps/via/keymap.c
+++ b/keyboards/handwired/prime_exl/keymaps/via/keymap.c
@@ -87,7 +87,7 @@ void led_set_user(uint8_t usb_led) {
//function for layer indicator LED
layer_state_t layer_state_set_user(layer_state_t state)
{
- if (biton32(state) == 1) {
+ if (get_highest_layer(state) == 1) {
writePinHigh(C6);
} else {
writePinLow(C6);