summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/prime_exl/keymaps/via/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/prime_exl/keymaps/via/keymap.c')
-rw-r--r--keyboards/handwired/prime_exl/keymaps/via/keymap.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/handwired/prime_exl/keymaps/via/keymap.c b/keyboards/handwired/prime_exl/keymaps/via/keymap.c
index 4a2631c36..c01c247c8 100644
--- a/keyboards/handwired/prime_exl/keymaps/via/keymap.c
+++ b/keyboards/handwired/prime_exl/keymaps/via/keymap.c
@@ -71,20 +71,20 @@ void matrix_scan_user(void) {
void led_set_user(uint8_t usb_led) {
if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
- writePinLow(B6);
- } else {
writePinHigh(B6);
+ } else {
+ writePinLow(B6);
}
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
- writePinLow(B5);
- } else {
writePinHigh(B5);
+ } else {
+ writePinLow(B5);
}
/*
if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) {
- writePinLow(C6);
- } else {
writePinHigh(C6);
+ } else {
+ writePinLow(C6);
}
*/
}
@@ -93,9 +93,9 @@ void led_set_user(uint8_t usb_led) {
uint32_t layer_state_set_user(uint32_t state)
{
if (biton32(state) == 2) {
- writePinLow(C6);
+ writePinHigh(C6);
} else {
- writePinHigh(C6);
+ writePinLow(C6);
}
return state;
}