summaryrefslogtreecommitdiffstats
path: root/keyboards/primekb/prime_e/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/primekb/prime_e/keymaps/default/keymap.c')
-rw-r--r--keyboards/primekb/prime_e/keymaps/default/keymap.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/primekb/prime_e/keymaps/default/keymap.c b/keyboards/primekb/prime_e/keymaps/default/keymap.c
index 47692c541..0aab745cd 100644
--- a/keyboards/primekb/prime_e/keymaps/default/keymap.c
+++ b/keyboards/primekb/prime_e/keymaps/default/keymap.c
@@ -44,20 +44,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(B2);
- } else {
writePinHigh(B2);
+ } else {
+ writePinLow(B2);
}
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
- writePinLow(B1);
- } else {
writePinHigh(B1);
+ } else {
+ writePinLow(B1);
}
/*
if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) {
- writePinLow(B3);
- } else {
writePinHigh(B3);
+ } else {
+ writePinLow(B3);
}*/
}
@@ -66,9 +66,9 @@ void led_set_user(uint8_t usb_led) {
uint32_t layer_state_set_user(uint32_t state)
{
if (biton32(state) == 1) {
- writePinLow(B3);
+ writePinHigh(B3);
} else {
- writePinHigh(B3);
+ writePinLow(B3);
}
return state;
}