summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired')
-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 c01c247c89..1b62d25ba4 100644
--- a/keyboards/handwired/prime_exl/keymaps/via/keymap.c
+++ b/keyboards/handwired/prime_exl/keymaps/via/keymap.c
@@ -92,7 +92,7 @@ void led_set_user(uint8_t usb_led) {
//function for layer indicator LED
uint32_t layer_state_set_user(uint32_t state)
{
- if (biton32(state) == 2) {
+ if (biton32(state) == 1) {
writePinHigh(C6);
} else {
writePinLow(C6);